Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

cancellation_slot_binder::cancellation_slot_binder - Boost C++ 函数库
PrevUpHomeNext

为指定对象构造一个取消槽包装器。

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

复制构造函数。

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

构建一个副本,但指定一个不同的取消槽。

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

构建一个不同取消槽包装器类型的副本。

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...

构建一个不同取消槽包装器类型的副本,但指定一个不同的取消槽。

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...

移动构造函数。

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

移动构造目标对象,但指定一个不同的取消槽。

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

从一个不同取消槽包装器类型移动构造。

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...

从一个不同取消槽包装器类型移动构造,但指定一个不同的取消槽。

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