std::bad_exception:: operator=
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
bad_exception::operator=
|
||||
|
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.
Falls
*
this
und
other
beide den dynamischen Typ
std::exception
haben, dann gilt
std::
strcmp
(
what
(
)
, other.
what
(
)
)
==
0
nach der Zuweisung.
(seit C++11)
Parameter
| other | - |
ein weiteres
bad_exception
Objekt zur Zuweisung
|
Rückgabewert
* this .