std::experimental::future<T>::operator=
来自cppreference.com
| |
(1) | |
| |
(2) | |
赋值另一 future 对象的内容。
1) 释放任何共享状态并将
other 的内容移动赋值给 *this。赋值后 other.valid() == false 而 this->valid() 将生成与 other.valid() 在赋值前相同的值。参数
| other | - | 将传递状态给 *this 的 std::experimental::future
|
返回值
*this