std::bad_exception::operator=
Von de.cppreference.net
bad_exception& operator=( const bad_exception& other ) throw();
|
(bis C++11) | |
bad_exception& operator=( const bad_exception& other ) noexcept;
|
(seit C++11) (constexpr seit C++26) |
|
Weist den Inhalt von other zu. Wenn *this und other beide den dynamischen Typ std::exception haben, dann std::strcmp(what(), other.what()) == 0 nach der Zuweisung.(seit C++11)
Parameter
| other | - |
ein weiteres
bad_exception
Objekt zur Zuweisung
|
Rückgabewert
* this .