std::bad_exception::operator=
cppreference.net에서
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 .