cpp / latest / error / nested_exception / operator=.html /

std::nested_exception::operator=

nested_exception& operator=( const nested_exception& other ) noexcept = default;
(since C++11)

Replaces the stored exception with the one held in other.

Parameters

other - nested exception to replace the contents with

Return value

*this.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/error/nested_exception/operator%3D