Scroll to navigation

std::nested_exception::operator=(3) C++ Standard Libary std::nested_exception::operator=(3)

NAME

std::nested_exception::operator= - std::nested_exception::operator=

Synopsis

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

Replaces the stored exception with the one held in other.

Parameters

other - nested exception to replace the contents with

Return value

*this

2026.11.10 http://cppreference.com