Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
inline_or_executor::require (4 of 6 overloads)

Obtain an executor with the inline_exception_handling.propagate property.

inline_or_executor< Executor, Blocking, execution::inline_exception_handling_t::propagate_t > require(
    const execution::inline_exception_handling_t::propagate_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::inline_exception_handling.propagate);

PrevUpHomeNext