Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.


Obtain the value associated with the specified property.

    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);