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

any_completion_executor::require (1 of 2 overloads)
PrevUpHomeNext

Obtain a polymorphic wrapper with the specified property.

template<
    typename Property>
any_completion_executor require(
    const Property & p,
    constraint_t< traits::require_member< const base_type &, const Property & >::is_valid >  = 0) const;

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

For example:

any_completion_executor ex = ...;
auto ex2 = boost::asio::require(ex, execution::relationship.fork);

PrevUpHomeNext