Namespaces
Variants

std::nested_exception:: rethrow_nested

From cppreference.net
Utilities library
[ [ noreturn ] ] void rethrow_nested ( ) const ;
(C++11以降)
(C++26以降 constexpr)

格納された例外を再スローします。格納された例外がない場合(すなわち、 nested_ptr() がヌルポインタを返す場合)、 std::terminate が呼び出されます。