Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
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.

    typename U,
    typename OtherCancellationSlot>
    const cancellation_slot_type & s,
    const cancellation_slot_binder< U, OtherCancellationSlot > & other);

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