Usermode/libc - Fix strchr and strrchr behavior
[tpg/acess2.git] / Usermode / Libraries / libc++.so_src / include_exp / exception
index 0beb016..9e1469d 100644 (file)
 
 #define noexcept       throw()
 
-#include "string"
-
 namespace std {
 
 class exception
 {
-       string  m_what_str;
 public:
        exception() noexcept;
        exception(const exception& e) noexcept;
        exception& operator= (const exception& e) noexcept;
        virtual ~exception() noexcept;
        virtual const char* what() const noexcept;
-protected:
-       exception(const string& what_str) noexcept;
 };
 
+class bad_exception:
+       public exception
+{
+public:
+       bad_exception() noexcept;
+       const char* what() const noexcept;
+};
+
+typedef void (*terminate_handler)();
+typedef void (*unexpected_handler)();
+
+extern void set_terminate(terminate_handler f) throw();
+extern void set_unexpected(unexpected_handler f) throw();
+extern void terminate();
+extern void unexpected();
+extern bool uncaught_exception() throw();
+
 };     // namespace std
 
 #endif

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