...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Construct a copy of a different cancellation slot wrapper type.
template< typename U, typename OtherCancellationSlot> cancellation_slot_binder( const cancellation_slot_binder< U, OtherCancellationSlot > & other);
This constructor is only valid if the CancellationSlot
type
is constructible from type OtherCancellationSlot
, and the
type T
is constructible from type U
.