future::share方法

转换为 shared_future 对象。

shared_future<Ty> share();

返回值

shared_future(move(*this))

要求

**标头:**将来

**命名空间:**std

请参见

参考

将来的选件类

<future>

move