asio C++ library

PrevUpHomeNext
basic_system_executor::require (6 of 7 overloads)

Obtain an executor with the specified allocator property.

template<
    typename OtherAllocator>
basic_system_executor< Blocking, Relationship, OtherAllocator > require(
    execution::allocator_t< OtherAllocator > a) const;

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

For example:

asio::system_executor ex1;
auto ex2 = asio::require(ex1,
    asio::execution::allocator(my_allocator));

PrevUpHomeNext