std::nested_exception:: operator=
From cppreference.net
<
cpp
|
error
|
nested exception
C++
Utilities library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Diagnostics library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::nested_exception
| Member functions | ||||
|
nested_exception::operator=
|
||||
|
nested_exception
&
operator
=
(
const
nested_exception
&
other
)
noexcept
=
default
;
|
(C++11 起)
(C++26 起为 constexpr) |
|
将存储的异常替换为
other
所持有的异常。
参数
| 其他 | - | 用于替换内容的嵌套异常 |
返回值
* this