asio C++ library

PrevUpHomeNext

experimental::use_promise_t::as_default_on

Function helper to adapt an I/O object to use use_promise_t as its default completion token type.

template<
    typename T>
static decay< T >::type::template rebind_executor< executor_with_default< typename decay< T >::type::executor_type > >::other as_default_on(
    T && object);

PrevUpHomeNext