asio C++ library

PrevUpHomeNext
any_io_executor::require (2 of 2 overloads)

Inherited from execution::any_executor.

Obtain a polymorphic wrapper with the specified property.

template<
    typename Property>
any_executor require(
    Property ) const;

Do not call this function directly. It is intended for use with the require and prefer customisation points.

For example:

execution::any_executor<execution::blocking_t::possibly_t> ex = ...;
auto ex2 = asio::requre(ex, execution::blocking.possibly);

PrevUpHomeNext