Boost C++ Libraries Home Libraries People FAQ More

any_io_executor::require (1 of 3 overloads)

Obtain a polymorphic wrapper with the specified property.

    typename Property>
any_io_executor require(
    const Property & p,
    typename constraint< traits::require_member< const base_type &, const Property & >::is_valid >::type  = 0) const;

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

For example:

any_io_executor ex = ...;
auto ex2 = boost::asio::require(ex, execution::blocking.possibly);