Fixed problems that emerged in list.
[xlqstl.git] / stdexcept
blobaf34255f7219b9ac3f679c0fe91786e0caa0235b
1 // vi:ft=cpp
2 #ifndef _STL_STDEXCEPT_H
3 #define _STL_STDEXCEPT_H
5 #include "exception"
6 #include "string"
8 namespace std {
10 struct logic_error: public exception {
11     explicit logic_error(const string &what_arg);
12     ~logic_error() throw();
13     const char *what() const throw();
14 private:
15     string what_;
18 struct out_of_range: public logic_error {
19     explicit out_of_range(const string &what_arg);
24 #endif