asio C++ library

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

PrevUpHomeNext