class range_error : public runtime_error { public: range_error(const string& what_arg); };
The class serves as the base class for all exceptions thrown to report a range error. The value returned by what() is what_arg.data().
what
()
what_arg.
data