std::bad_exception::operator=
De cppreference.com
< cpp | error | bad exception
bad_exception& operator=( const bad_exception& other ) throw(); |
(hasta C++11) | |
bad_exception& operator=( const bad_exception& other ) noexcept; |
(desde C++11) | |
Asigna el contenido de other
. Si tanto *this
como other
tienen un tipo dinámico std::exception
, entonces std::strcmp(what(), other.what()) == 0 después de la asignación. (desde C++11)
[editar] Parámetros
other | - | El otro objeto bad_exception del cual asignar.
|
[editar] Valor de retorno
*this.