comparison DEPENDENCIES/generic/include/boost/asio/detail/wrapped_handler.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
1 // 1 //
2 // detail/wrapped_handler.hpp 2 // detail/wrapped_handler.hpp
3 // ~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 // ~~~~~~~~~~~~~~~~~~~~~~~~~~
4 // 4 //
5 // Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com) 5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 // 6 //
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying 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) 8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 // 9 //
10 10
263 template <typename Dispatcher, typename Context> 263 template <typename Dispatcher, typename Context>
264 inline bool asio_handler_is_continuation( 264 inline bool asio_handler_is_continuation(
265 rewrapped_handler<Dispatcher, Context>* this_handler) 265 rewrapped_handler<Dispatcher, Context>* this_handler)
266 { 266 {
267 return boost_asio_handler_cont_helpers::is_continuation( 267 return boost_asio_handler_cont_helpers::is_continuation(
268 this_handler->handler_); 268 this_handler->context_);
269 } 269 }
270 270
271 template <typename Function, typename Handler, typename Context> 271 template <typename Function, typename Handler, typename Context>
272 inline void asio_handler_invoke(Function& function, 272 inline void asio_handler_invoke(Function& function,
273 rewrapped_handler<Handler, Context>* this_handler) 273 rewrapped_handler<Handler, Context>* this_handler)