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

execution::inline_exception_handling_t
PrevUpHomeNext

A property to describe what guarantees an executor makes about the treatment of exceptions that are thrown by a submitted function, when that function is executed inline within execute.

struct inline_exception_handling_t
Types

Name

Description

capture_t

A sub-property that indicates that invocation of an executor's execution function will capture any exceptions that are thrown by the submitted function object, if that function object is executed inline. Captured exceptions are forwarded to an executor-defined handling mechanism.

propagate_t

A sub-property that indicates that invocation of an executor's execution function will propagate any exceptions that are thrown by the submitted function object, if that function object is executed inline.

terminate_t

A sub-property that indicates that invocation of an executor's execution function will terminate the program if any exceptions that are thrown by the submitted function object, if that function object is executed inline.

polymorphic_query_result_type

The type returned by queries against an any_executor.

Member Functions

Name

Description

inline_exception_handling_t [constructor]

Default constructor.

Construct from a sub-property value.

Data Members

Name

Description

capture [static]

A special value used for accessing the inline_exception_handling_t::capture_t property.

is_applicable_property_v [static]

The inline_exception_handling property applies to executors.

is_preferable [static]

The top-level inline_exception_handling property cannot be preferred.

is_requirable [static]

The top-level inline_exception_handling property cannot be required.

propagate [static]

A special value used for accessing the inline_exception_handling_t::propagate_t property.

terminate [static]

A special value used for accessing the inline_exception_handling_t::terminate_t property.

Friends

Name

Description

operator!=

Compare property values for inequality.

operator==

Compare property values for equality.

Requirements

Header: boost/asio/execution/inline_exception_handling.hpp

Convenience header: boost/asio/execution.hpp


PrevUpHomeNext