asio C++ library

PrevUpHomeNext

cancellation_slot_binder::cancellation_slot_binder

Construct a cancellation slot wrapper for the specified object.

template<
    typename U>
cancellation_slot_binder(
    const cancellation_slot_type & s,
    U && u);
  » more...

Copy constructor.

cancellation_slot_binder(
    const cancellation_slot_binder & other);
  » more...

Construct a copy, but specify a different cancellation slot.

cancellation_slot_binder(
    const cancellation_slot_type & s,
    const cancellation_slot_binder & other);
  » more...

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);
  » more...

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);
  » more...

Move constructor.

cancellation_slot_binder(
    cancellation_slot_binder && other);
  » more...

Move construct the target object, but specify a different cancellation slot.

cancellation_slot_binder(
    const cancellation_slot_type & s,
    cancellation_slot_binder && other);
  » more...

Move construct from a different cancellation slot wrapper type.

template<
    typename U,
    typename OtherCancellationSlot>
cancellation_slot_binder(
    cancellation_slot_binder< U, OtherCancellationSlot > && other,
    constraint_t< is_constructible< CancellationSlot, OtherCancellationSlot >::value >  = 0,
    constraint_t< is_constructible< T, U >::value >  = 0);
  » more...

Move construct from 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,
    cancellation_slot_binder< U, OtherCancellationSlot > && other,
    constraint_t< is_constructible< T, U >::value >  = 0);
  » more...

PrevUpHomeNext