...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A property that gives an estimate of the number of execution agents that should occupy the associated execution context.
struct occupancy_t
Name |
Description |
---|---|
The type returned by queries against an any_executor. |
Name |
Description |
---|---|
is_applicable_property_v [static] |
The occupancy_t property applies to executors, senders, and schedulers. |
is_preferable [static] |
The occupancy_t property cannot be preferred. |
is_requirable [static] |
The occupancy_t property cannot be required. |
Header: boost/asio/execution/occupancy.hpp
Convenience header: boost/asio/execution.hpp