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