std::nested_exception::rethrow_nested
From cppreference.com
< cpp | error | nested exception
[[noreturn]] void rethrow_nested() const; |
(C++11以降) (C++26 以降 constexpr) |
|
格納されている例外を再スローします。格納されている例外がない場合(すなわち、nested_ptr() が null ポインタを返す場合)は、std::terminate が呼び出されます。
[編集] パラメータ
(なし)
[編集] 戻り値
(なし)