Defined in header
Defines a type of object to be thrown as exception. It reports errors that arise because integer value in some computation could not be represented as it had too large negative value. If the value has floating point type, std::range_error should be used.
 Member functions
| constructs the exception object |
(public member function)
explicit underflow_error( const std::string& what_arg );
explicit underflow_error( const char* what_arg );
Constructs the exception object with
what_arg as explanatory string that can be accessed through what().