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
basic_system_executor::require (1 of 7 overloads)

Obtain an executor with the blocking.possibly property.

basic_system_executor< execution::blocking_t::possibly_t, Relationship, Allocator > require(
    execution::blocking_t::possibly_t ) const;

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

For example:

boost::asio::system_executor ex1;
auto ex2 = boost::asio::require(ex1,
    boost::asio::execution::blocking.possibly);

PrevUpHomeNext