std::nested_exception::operator=
nested_exception& operator=( const nested_exception& other ) noexcept = default; |
(с C++11) (constexpr с C++26) |
Заменяет сохранённое исключение исключением, хранящимся в other.
Параметры
| other | — | вложенное исключение, содержимое которого будет использоваться для замены |
Возвращаемое значение
*this
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/error/nested_exception/operator%3D