2 / Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
4 / Distributed under the Boost Software License, Version 1.0. (See accompanying
5 / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 [section:CompletionHandler Completion handler requirements]
10 A completion handler must meet the requirements for a [link
11 boost_asio.reference.Handler handler]. A value `h` of a completion handler
12 class should work correctly in the expression `h()`.
16 A free function as a completion handler:
18 void completion_handler()
23 A completion handler function object:
25 struct completion_handler
35 A non-static class member function adapted to a completion handler using
38 void my_class::completion_handler()
43 my_io_service.post(boost::bind(&my_class::completion_handler, this));