A property to describe whether automatic adaptation of an executor is allowed
in order to apply the execution::blocking_adaptation_t::allowed_t
property.
struct blocking_adaptation_t
Name |
Description |
---|---|
A sub-property that indicates that automatic adaptation is allowed. |
|
A sub-property that indicates that automatic adaptation is not allowed. |
|
The type returned by queries against an any_executor. |
Name |
Description |
---|---|
blocking_adaptation_t [constructor] |
Default constructor. |
Name |
Description |
---|---|
allowed [static] |
A special value used for accessing the blocking_adaptation_t::allowed_t property. |
disallowed [static] |
A special value used for accessing the blocking_adaptation_t::disallowed_t property. |
is_applicable_property_v [static] |
The blocking_adaptation_t property applies to executors, senders, and schedulers. |
is_preferable [static] |
The top-level blocking_adaptation_t property cannot be preferred. |
is_requirable [static] |
The top-level blocking_adaptation_t property cannot be required. |
Name |
Description |
---|---|
Compare property values for inequality. |
|
Compare property values for equality. |
Header: asio/execution/blocking_adaptation.hpp
Convenience header: asio/execution.hpp