Realistic 3D camera system
3D camera system components
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
asio-1.10.6
include
asio
detail
throw_error.hpp
Go to the documentation of this file.
1
//
2
// detail/throw_error.hpp
3
// ~~~~~~~~~~~~~~~~~~~~~~
4
//
5
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6
//
7
// Distributed under the Boost Software License, Version 1.0. (See accompanying
8
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9
//
10
11
#ifndef ASIO_DETAIL_THROW_ERROR_HPP
12
#define ASIO_DETAIL_THROW_ERROR_HPP
13
14
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
15
# pragma once
16
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
18
#include "
asio/detail/config.hpp
"
19
#include "
asio/error_code.hpp
"
20
21
#include "
asio/detail/push_options.hpp
"
22
23
namespace
asio
{
24
namespace
detail {
25
26
ASIO_DECL
void
do_throw_error
(
const
asio::error_code
& err);
27
28
ASIO_DECL
void
do_throw_error
(
const
asio::error_code
& err,
29
const
char
* location);
30
31
inline
void
throw_error
(
const
asio::error_code
& err)
32
{
33
if
(err)
34
do_throw_error
(err);
35
}
36
37
inline
void
throw_error
(
const
asio::error_code
& err,
38
const
char
* location)
39
{
40
if
(err)
41
do_throw_error
(err, location);
42
}
43
44
}
// namespace detail
45
}
// namespace asio
46
47
#include "
asio/detail/pop_options.hpp
"
48
49
#if defined(ASIO_HEADER_ONLY)
50
# include "
asio/detail/impl/throw_error.ipp
"
51
#endif // defined(ASIO_HEADER_ONLY)
52
53
#endif // ASIO_DETAIL_THROW_ERROR_HPP
asio::detail::do_throw_error
void do_throw_error(const asio::error_code &err)
Definition:
throw_error.ipp:28
asio::detail::throw_error
void throw_error(const asio::error_code &err)
Definition:
throw_error.hpp:31
error_code.hpp
config.hpp
push_options.hpp
pop_options.hpp
throw_error.ipp
asio::error_code
Class to represent an error code value.
Definition:
error_code.hpp:80
ASIO_DECL
#define ASIO_DECL
Definition:
config.hpp:43
asio
Definition:
async_result.hpp:23
Generated by
1.8.11