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以降)
パラメータ
| その他 | - |
代入する別の
bad_exception
オブジェクト
|
戻り値
* this .