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.
Forwards type to the associator specialisation
for the unwrapped type T.
typedef associated_cancellation_slot< T, CancellationSlot >::type type;
|
Name |
Description |
|---|---|
|
If T has a nested type cancellation_slot_type, T::cancellation_slot_type. Otherwise CancellationSlot. |
|
Name |
Description |
|---|---|
|
get [static] |
If T has a nested type cancellation_slot_type, returns t.get_cancellation_slot().
Otherwise returns type(). |
A program may specialise this traits type if the T
template parameter in the specialisation is a user-defined type. The template
parameter CancellationSlot
shall be a type meeting the CancellationSlot requirements.
Specialisations shall meet the following requirements, where t is a const reference to an object of
type T, and s is an object of type CancellationSlot.
type
that identifies a type meeting the CancellationSlot requirements.
get,
callable as get(t)
and with return type type
or a (possibly const) reference to type.
get,
callable as get(t,s)
and with return type type
or a (possibly const) reference to type.
Header: boost/asio/associated_cancellation_slot.hpp
Convenience header: boost/asio.hpp