cancellation_token_registration::operator= 运算符

在调用代码中将替换为 cancellation_token_registration 对象的内容。

cancellation_token_registration& operator=(
   const cancellation_token_registration& _Src
);

cancellation_token_registration& operator=(
   cancellation_token_registration&& _Src
);

参数

  • _Src
    cancellation_token_registration 对象。

备注

cancellation_token_registration 行为与智能指针,在复制赋值后,该对象表示物理寄存器和 _Src相同。

要求

**标头:**ppl.h

命名空间: 并发

请参见

参考

cancellation_token_registration 类