asio C++ library

PrevUpHomeNext

use_awaitable_t::as_default_on

Function helper to adapt an I/O object to use use_awaitable_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