std::nested_exception:: rethrow_nested
From cppreference.net
<
cpp
|
error
|
nested exception
C++
Utilities library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Diagnostics library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::nested_exception
| Member functions | ||||
|
nested_exception::rethrow_nested
|
||||
|
[
[
noreturn
]
]
void
rethrow_nested
(
)
const
;
|
(начиная с C++11)
(constexpr начиная с C++26) |
|
Повторно выбрасывает сохранённое исключение. Если сохранённых исключений нет (т.е. nested_ptr() возвращает нулевой указатель), то вызывается std::terminate .