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

PrevUpHomeNext
cancellation_slot_binder::cancellation_slot_binder (4 of 9 overloads)

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,
    constraint_t< is_constructible< CancellationSlot, OtherCancellationSlot >::value >  = 0,
    constraint_t< is_constructible< T, U >::value >  = 0);

This constructor is only valid if the CancellationSlot type is constructible from type OtherCancellationSlot, and the type T is constructible from type U.


PrevUpHomeNext