Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
thread_pool::basic_executor_type::require (8 of 9 overloads)

Obtain an executor with the specified allocator property.

    typename OtherAllocator>
constexpr basic_executor_type< OtherAllocator, Bits > 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:

auto ex1 = my_thread_pool.executor();
auto ex2 = boost::asio::require(ex1,