std::bad_exception::bad_exception
cppreference.net에서
bad_exception() throw();
|
(1) | (C++11까지) |
bad_exception() noexcept;
|
(C++11부터) (C++26부터 constexpr) |
|
bad_exception( const bad_exception& other ) throw();
|
(2) | (C++11까지) |
bad_exception( const bad_exception& other ) noexcept;
|
(C++11부터) (C++26부터 constexpr) |
|
새 bad_exception 객체를 생성합니다.
1) 기본 생성자.
what()는 구현 정의 문자열을 반환합니다.2) 복사 생성자.
other의 내용으로 객체를 초기화합니다. *this와 other 모두 동적 타입이 std::bad_exception이면 std::strcmp(what(), other.what()) == 0(C++11부터)입니다.매개변수
| other | - |
bad_exception
초기화할 객체
|