std::bad_exception::operator=
Depuis fr.cppreference.net
bad_exception& operator=( const bad_exception& other ) throw();
|
(jusqu'à C++11) | |
bad_exception& operator=( const bad_exception& other ) noexcept;
|
(depuis C++11) (constexpr depuis C++26) |
|
Assigne le contenu de other. Si *this et other ont tous deux le type dynamique std::exception alors std::strcmp(what(), other.what()) == 0 après l'affectation.(depuis C++11)
Paramètres
| autre | - |
un autre
bad_exception
à assigner
|
Valeur de retour
* this .