Boost C++ Libraries

...one 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.
PrevUpHomeNext

execution::blocking_adaptation_t

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
Types

Name

Description

allowed_t

A sub-property that indicates that automatic adaptation is allowed.

disallowed_t

A sub-property that indicates that automatic adaptation is not allowed.

polymorphic_query_result_type

The type returned by queries against an any_executor.

Member Functions

Name

Description

blocking_adaptation_t [constructor]

Default constructor.

Construct from a sub-property value.

Data Members

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.

Friends

Name

Description

operator!=

Compare property values for inequality.

operator==

Compare property values for equality.

Requirements

Header: boost/asio/execution/blocking_adaptation.hpp

Convenience header: boost/asio/execution.hpp


PrevUpHomeNext