std::exception::exception
From cppreference.com
Template:ddcl list begin <tr class="t-dcl ">
<td >exception();
</td>
<td > (1) </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">
<td >exception( const exception& other );
</td>
<td > (2) </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end
Constructs new exception object.
1) Default constructor. what() returns empty string.
2) Copy constructor. Initializes the contents with those of other
Parameters
other | - | another exception to assign the contents of |
Exceptions
1-2)noexcept specification:
noexcept