std::nested_exception:: nested_exception
From cppreference.net
<
cpp
|
error
|
nested exception
C++
Utilities library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Diagnostics library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::nested_exception
| Member functions | ||||
|
nested_exception::nested_exception
|
||||
|
nested_exception
(
)
noexcept
;
|
(1) |
(自 C++11 起)
(自 C++26 起为 constexpr) |
|
nested_exception
(
const
nested_exception
&
other
)
noexcept
=
default
;
|
(2) |
(自 C++11 起)
(自 C++26 起为 constexpr) |
构造新的
nested_exception
对象。
2)
复制构造函数。使用存储在
other
中的异常初始化对象。
参数
| 其他 | - | 用于初始化内容的嵌套异常 |