Defined in header <stdexcept>
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 positive value. If the value has floating point type,
range_error should be used.
 Member functions
| constructs the exception object |
(public member function)
explicit overflow_error( const std::string& what_arg );
explicit overflow_error( const char* what_arg );
Constructs the exception object with
what_arg as explanatory string that can be accessed through what().