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

execution::any_executor::require

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 = boost::asio::requre(ex, execution::blocking.possibly);

PrevUpHomeNext