completion_future::to_task 方法

返回对应于关联的异步操作的 task 对象。

concurrency::task<void> to_task() const;

返回值

对应于关联的异步操作的 task 对象。

要求

**标头:**amprt.h

**命名空间:**并发

请参见

参考

completion_future 类