Difference between revisions of "cpp/error/nested exception/nested exception"
From cppreference.com
< cpp | error | nested exception
m (link to ja) |
m (→Parameters) |
||
Line 21: | Line 21: | ||
{{par end}} | {{par end}} | ||
− | {{langlinks|ja|zh}} | + | {{langlinks|ja|ru|zh}} |
Latest revision as of 03:23, 15 August 2023
nested_exception() noexcept; |
(1) | (since C++11) |
nested_exception( const nested_exception& other ) noexcept = default; |
(2) | (since C++11) |
Constructs new nested_exception
object.
1) Default constructor. Stores an exception object obtained by calling std::current_exception() within the new
nested_exception
object.2) Copy constructor. Initializes the object with the exception stored in
other
. [edit] Parameters
other | - | nested exception to initialize the contents with |