cancellation_token_source::operator= 运算符

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

cancellation_token_source& operator=(
   const cancellation_token_source& _Src
);

cancellation_token_source& operator=(
   cancellation_token_source&& _Src
);

参数

  • _Src
    cancellation_token_source 对象。

备注

cancellation_token_source 行为与智能指针,在复制分配后。此对象表示与 _Src 的标记源。

要求

**标头:**ppl.h

命名空间: 并发

请参见

参考

cancellation_token_source 类