std::nested_exception:: operator=
From cppreference.net
<
cpp
|
error
|
nested exception
C++
Utilities library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Diagnostics library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::nested_exception
| Member functions | ||||
|
nested_exception::operator=
|
||||
|
nested_exception
&
operator
=
(
const
nested_exception
&
other
)
noexcept
=
default
;
|
(начиная с C++11)
(constexpr начиная с C++26) |
|
Заменяет сохранённое исключение на то, которое содержится в
other
.
Параметры
| other | - | вложенное исключение для замены содержимого |
Возвращаемое значение
* this