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
handler_cont_helpers.hpp
Go to the documentation of this file.
1
//
2
// detail/handler_cont_helpers.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_HANDLER_CONT_HELPERS_HPP
12
#define ASIO_DETAIL_HANDLER_CONT_HELPERS_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/detail/addressof.hpp
"
20
#include "
asio/handler_continuation_hook.hpp
"
21
22
#include "
asio/detail/push_options.hpp
"
23
24
// Calls to asio_handler_is_continuation must be made from a namespace that
25
// does not contain overloads of this function. This namespace is defined here
26
// for that purpose.
27
namespace
asio_handler_cont_helpers
{
28
29
template
<
typename
Context>
30
inline
bool
is_continuation
(Context& context)
31
{
32
#if !defined(ASIO_HAS_HANDLER_HOOKS)
33
return
false
;
34
#else
35
using
asio::asio_handler_is_continuation
;
36
return
asio_handler_is_continuation
(
37
asio::detail::addressof(context));
38
#endif
39
}
40
41
}
// namespace asio_handler_cont_helpers
42
43
#include "
asio/detail/pop_options.hpp
"
44
45
#endif // ASIO_DETAIL_HANDLER_CONT_HELPERS_HPP
asio::asio_handler_is_continuation
bool asio_handler_is_continuation(...)
Default continuation function for handlers.
Definition:
handler_continuation_hook.hpp:45
config.hpp
push_options.hpp
addressof.hpp
pop_options.hpp
asio_handler_cont_helpers::is_continuation
bool is_continuation(Context &context)
Definition:
handler_cont_helpers.hpp:30
handler_continuation_hook.hpp
asio_handler_cont_helpers
Definition:
handler_cont_helpers.hpp:27
asio::detail::asio_handler_is_continuation
bool asio_handler_is_continuation(binder1< Handler, Arg1 > *this_handler)
Definition:
bind_handler.hpp:76
Generated by
1.8.11