Defined in header
Defines a type of object to be thrown as exception. It reports errors that are consequence of attempt to access elements out of defined range.
explicit out_of_range( const char* what_arg );
explicit out_of_range( const std::string& what_arg );
Constructs the exception object with
what_arg as explanatory string that can be accessed through what().