Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
inline_or_executor::require (1 of 6 overloads)

Obtain an executor with the blocking.possibly property.

inline_or_executor< Executor, execution::blocking_t::possibly_t, InlineExceptionHandling > require(
    const 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::inline_or_executor<my_executor_type> ex = ...;
auto ex2 = boost::asio::require(ex1,
    boost::asio::execution::blocking.possibly);

PrevUpHomeNext