Boost C++ Libraries

...one 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.
PrevUpHomeNext
io_context::basic_executor_type::require (4 of 8 overloads)

Obtain an executor with the relationship.continuation property.

constexpr basic_executor_type require(
    execution::relationship_t::continuation_t ) const;

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

For example:

auto ex1 = my_io_context.get_executor();
auto ex2 = boost::asio::require(ex1,
    boost::asio::execution::relationship.continuation);

PrevUpHomeNext