| Home | Libraries | People | FAQ | More

##### cancellation_slot_binder::cancellation_slot_binder (5 of 9 overloads)

Construct a copy of a different cancellation slot wrapper type, but specify a different cancellation slot.

    template<
        typename U,
        typename OtherCancellationSlot>
    cancellation_slot_binder(
        const cancellation_slot_type & s,
        const cancellation_slot_binder< U, OtherCancellationSlot > & other,
        constraint_t< is_constructible< T, U >::value >  = 0);

This constructor is only valid if the type `T` is constructible from type `U`.