Namespaces
Variants

std::nested_exception::nested_exception

cppreference.net에서
 
 
유틸리티 라이브러리
일반 유틸리티
관계 연산자 (C++20에서 폐기됨)
정수 비교 함수
(C++20)(C++20)(C++20)    
(C++20)
스왑 및 형식 연산
(C++14)
(C++11)
(C++11)
(C++11)
(C++17)
공통 어휘 형식
(C++11)
(C++17)
(C++17)
(C++17)
(C++11)
(C++17)
(C++23)



 
 
 
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) 기본 생성자. std::current_exception()을 호출하여 얻은 예외 객체를 새로운 nested_exception 객체 내에 저장합니다.
2) 복사 생성자. other에 저장된 예외로 객체를 초기화합니다.

매개변수

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