std::future_error:: operator=
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
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
。
参数
| 其他 | - |
用于赋值的另一个
future_error
对象
|
返回值
* this
示例
|
本节内容不完整
原因:缺少示例 |