Usermode/libc++ - Exception handling in progress (build broken)
[tpg/acess2.git] / Usermode / Libraries / libc++.so_src / include_exp / stdexcept
1 /*
2  * Acess2 C++ Library
3  * - By John Hodge (thePowersGang)
4  *
5  * string (header)
6  * - C++'s String type
7  */
8 #ifndef _LIBCXX_STDEXCEPT_
9 #define _LIBCXX_STDEXCEPT_
10
11 #include "exception"
12
13 namespace std {
14
15 class logic_error:
16         public exception
17 {
18 public:
19         explicit logic_error(const string& what_arg);
20 };
21
22 class runtime_error:
23         public exception
24 {
25 public:
26         explicit runtime_error(const string& what_arg);
27 };
28
29 class out_of_range:
30         public logic_error
31 {
32 public:
33         explicit out_of_range(const string& what_arg);
34 };
35
36 };      // namespace std
37
38 #endif
39
40 // vim: ft=cpp
41

UCC git Repository :: git.ucc.asn.au