std::bad_exception:: operator=
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
bad_exception::operator=
|
||||
|
bad_exception
&
operator
=
(
const
bad_exception
&
other
)
throw
(
)
;
|
(hasta C++11) | |
|
bad_exception
&
operator
=
(
const
bad_exception
&
other
)
noexcept
;
|
(desde C++11)
(constexpr desde C++26) |
|
Asigna el contenido de
other
.
Si
*
this
y
other
tienen ambos el tipo dinámico
std::exception
entonces
std::
strcmp
(
what
(
)
, other.
what
(
)
)
==
0
después de la asignación.
(desde C++11)
Parámetros
| otro | - |
otro objeto
bad_exception
para asignar
|
Valor de retorno
* this .