在调用代码中将替换为 task 对象的内容。
task& operator=(
const task& _Other
);
task& operator=(
task&& _Other
);
参数
- _Other
源 task 对象。
备注
当 task 行为与智能指针,在复制分配后,此 task 对象表示与 _Other 的实际任务。
要求
标题: ppltasks.h
命名空间: 并发
在调用代码中将替换为 task 对象的内容。
task& operator=(
const task& _Other
);
task& operator=(
task&& _Other
);
当 task 行为与智能指针,在复制分配后,此 task 对象表示与 _Other 的实际任务。
标题: ppltasks.h
命名空间: 并发