asio C++ library

PrevUpHomeNext

execution::any_executor::query

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 = asio::query(ex, execution::occupancy);

PrevUpHomeNext