asio C++ library

PrevUpHomeNext

experimental::as_single

Create a completion token to specify that the completion handler arguments should be combined into a single argument.

template<
    typename CompletionToken>
constexpr as_single_t< typename decay< CompletionToken >::type > as_single(
    CompletionToken && completion_token);
Requirements

Header: asio/experimental/as_single.hpp

Convenience header: asio.hpp


PrevUpHomeNext