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 an older version of Boost and was released in 2024. The current version is 1.89.0.
A cancellation state is used for chaining signals and slots in compositions.
class cancellation_state
|
Name |
Description |
|---|---|
|
cancellation_state [constructor] |
Construct a disconnected cancellation state. |
|
Returns the cancellation types that have been triggered. |
|
|
Clears the specified cancellation types, if they have been triggered. |
|
|
Returns the single child slot associated with the state. |
Header: boost/asio/cancellation_state.hpp
Convenience header: boost/asio.hpp