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 version of Boost is under active development. You are currently in the develop branch. The current version is 1.90.0.
Enumeration representing the different types of cancellation that may be requested from or implemented by an asynchronous operation.
enum class cancellation_type : unsigned int
Bitmask representing no types of cancellation.
Requests cancellation where, following a successful cancellation, the only safe operations on the I/O object are closure or destruction.
Requests cancellation where a successful cancellation may result in partial side effects or no side effects. Following cancellation, the I/O object is in a well-known state, and may be used for further operations.
Requests cancellation where a successful cancellation results in no apparent side effects. Following cancellation, the I/O object is in the same observable state as it was prior to the operation.
Bitmask representing all types of cancellation.
Header: boost/asio/cancellation_type.hpp
Convenience header: boost/asio.hpp