std::future<T>::future
来自cppreference.com
| |
(1) | (C++11 起) |
| |
(2) | (C++11 起) |
| |
(3) | (C++11 起) |
构造 std::future 对象。
2) 移动构造函数。用移动语义,以
other 的共享状态构造 std::future。构造后 other.valid() == false。参数
| other | - | 从之获得共享状态的另一 std::future
|