std::future_error::operator=
来自cppreference.com
< cpp | thread | future error
并发支持库
|
|
std::future_error
成员函数 | ||||
future_error::operator= | ||||
future_error& operator=( const future_error& other ) noexcept; | (C++11 起) | |
以 other 的内容赋值。若 *this 与 other 均拥有动态类型 std::future_error
则赋值后 std::strcmp(what(), other.what()) == 0。
参数
other | - | 用以赋值的另一 future_error 对象 |
返回值
*this
示例
本节未完成 原因:暂无示例 |