2 #ifndef _STL_STDEXCEPT_H
3 #define _STL_STDEXCEPT_H
10 struct logic_error: public exception {
11 explicit logic_error(const string &what_arg);
12 ~logic_error() throw();
13 const char *what() const throw();
18 struct out_of_range: public logic_error {
19 explicit out_of_range(const string &what_arg);