Namespaces
Variants

std::nested_exception:: nested_exception

From cppreference.net
Utilities library
nested_exception ( ) noexcept ;
(1) (C++11부터)
(C++26부터 constexpr)
nested_exception ( const nested_exception & other ) noexcept = default ;
(2) (C++11부터)
(C++26부터 constexpr)

새로운 nested_exception 객체를 생성합니다.

1) 기본 생성자. 새로운 nested_exception 객체 내부에서 std:: current_exception ( ) 호출을 통해 얻은 예외 객체를 저장합니다.
2) 복사 생성자. 객체를 other 에 저장된 예외로 초기화합니다.

매개변수

other - 내용을 초기화할 중첩 예외