std::bad_exception::operator=
Von cppreference.com
< cpp | error | bad exception
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 ist std::strcmp(what(), other.what()) = 0 nach der Zuweisung gültig.(seit C++11)
[bearbeiten] Parameter
| Sonstiges | - | Ein weiteres bad_exception-Objekt zum Zuweisen |
[bearbeiten] Rückgabewert
*this.