Namespaces
Variants

std::bad_exception::operator=

cppreference.net에서
 
 
유틸리티 라이브러리
일반 유틸리티
관계 연산자 (deprecated in 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)



 
 
 
bad_exception& operator=( const bad_exception& other ) throw();
(C++11까지)
bad_exception& operator=( const bad_exception& other ) noexcept;
(C++11부터)
(C++26부터 constexpr)

other의 내용을 대입합니다. 만약 *this 그리고 other 모두 동적 타입이 std::exception 이면 std::strcmp(what(), other.what()) == 0 대입 후입니다.(C++11부터)

매개변수

other - 할당할 다른 bad_exception 객체

반환값

* this .