Namespaces
Variants
Views
Actions

std::nested_exception::operator=

From cppreference.com
 
 
Utilities library
General utilities
Date and time
Function objects
Formatting library (C++20)
(C++11)
Relational operators (deprecated in C++20)
Integer comparison functions
(C++20)
Swap and type operations
(C++14)
(C++11)
(C++11)
(C++11)
(C++17)
Common vocabulary types
(C++11)
(C++17)
(C++17)
(C++17)
(C++17)

Elementary string conversions
(C++17)
(C++17)
 
 
 
nested_exception& operator=( const nested_exception& other ) noexcept = default;
(since C++11)

Replaces the stored exception with the one held in other.

[edit] Parameters

other - nested exception to replace the contents with

[edit] Return value

*this