Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

as_tuple

A function object that adapts a completion token to specify that the completion handler arguments should be combined into a single tuple argument.

constexpr partial_as_tuple as_tuple;

May also be used directly as a completion token, in which case it adapts the asynchronous operation's default completion token (or deferred if no default is available).

Requirements

Header: boost/asio/as_tuple.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext