completion_future::operator= 运算符

将指定的 completion_future 对象的内容复制到此对象中。

completion_future& operator=(
   const completion_future& _Other
);

completion_future& operator=(
   completion_future&& _Other
);

参数

  • _Other
    从其中复制的对象。

返回值

对此 completion_future 对象的引用。

重载列表

名称

说明

completion_future& operator=(const completion_future& _Other);

使用深层复制将指定的completion_future对象的内容复制到此对象中。

completion_future& operator=(completion_future&& _Other);

使用移动赋值将指定的completion_future对象的内容复制到此对象中。

要求

**标头:**amprt.h

**命名空间:**并发

请参见

参考

completion_future 类