asio C++ library

PrevUpHomeNext

execution::mapping_t

A property to describe what guarantees an executor makes about the mapping of execution agents on to threads of execution.

struct mapping_t
Types

Name

Description

new_thread_t

A sub-property that indicates that execution agents are mapped on to new threads of execution.

other_t

A sub-property that indicates that the mapping of execution agents is implementation-defined.

thread_t

A sub-property that indicates that execution agents are mapped on to threads of execution.

polymorphic_query_result_type

The type returned by queries against an any_executor.

Member Functions

Name

Description

mapping_t

Default constructor.

Construct from a sub-property value.

Data Members

Name

Description

is_applicable_property_v

The mapping_t property applies to executors, senders, and schedulers.

is_preferable

The top-level mapping_t property cannot be preferred.

is_requirable

The top-level mapping_t property cannot be required.

new_thread

A special value used for accessing the mapping_t::new_thread_t property.

other

A special value used for accessing the mapping_t::other_t property.

thread

A special value used for accessing the mapping_t::thread_t property.

Friends

Name

Description

operator!=

Compare property values for inequality.

operator==

Compare property values for equality.

Requirements

Header: asio/execution/mapping.hpp

Convenience header: asio/execution.hpp


PrevUpHomeNext