std::nested_exception::rethrow_nested
[[noreturn]] void rethrow_nested() const; |
(начиная с C++11) (constexpr начиная с C++26) |
Повторно выбрасывает сохранённое исключение. Если сохранённых исключений нет (то есть nested_ptr() возвращает нулевой указатель), вызывается std::terminate.
Параметры
(нет)
Возвращаемое значение
(нет)
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/error/nested_exception/rethrow_nested