Namespaces
Variants

std::nested_exception:: rethrow_nested

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

Renvoie l'exception stockée. S'il n'y a pas d'exception stockée (c'est-à-dire, nested_ptr() renvoie un pointeur nul), alors std::terminate est appelé.