Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

any_io_executor::query

Inherited from execution::any_executor.

Obtain the value associated with the specified property.

template<
    typename Property>
Property::polymorphic_query_result_type query(
    Property ) const;

Do not call this function directly. It is intended for use with the query customisation point.

For example:

execution::any_executor<execution::occupancy_t> ex = ...;
size_t n = boost::asio::query(ex, execution::occupancy);

PrevUpHomeNext