std::bad_exception:: operator=
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
bad_exception::operator=
|
||||
|
bad_exception
&
operator
=
(
const
bad_exception
&
other
)
throw
(
)
;
|
(C++11まで) | |
|
bad_exception
&
operator
=
(
const
bad_exception
&
other
)
noexcept
;
|
(C++11から)
(C++26からconstexpr) |
|
other
の内容を代入する。
*
this
と
other
の両方が動的型
std::exception
を持つ場合、代入後は
std::
strcmp
(
what
(
)
, other.
what
(
)
)
==
0
となる。
(C++11以降)
パラメータ
| その他 | - |
代入する別の
bad_exception
オブジェクト
|
戻り値
* this .