std::nested_exception::operator=
From cppreference.com
< 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; |
(since C++11) (constexpr since C++26) |
|
Replaces the stored exception with the one held in other.
[edit] Parameters
| other | - | nested exception to replace the contents with |
[edit] Return value
*this