X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Usermode%2FLibraries%2Flibc%2B%2B.so_src%2Finclude_exp%2Fstdexcept;h=75562073bf8ce252b3e020f94cca2ccd3ded0b25;hb=5cab4c07bc13888dc7956194ef9595508072a4eb;hp=aa7072bb6e0306ff5872dacf13e3a1c58fcc5170;hpb=1a4752fe23a96f47fb83c57861aa991681fa98b0;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libc++.so_src/include_exp/stdexcept b/Usermode/Libraries/libc++.so_src/include_exp/stdexcept index aa7072bb..75562073 100644 --- a/Usermode/Libraries/libc++.so_src/include_exp/stdexcept +++ b/Usermode/Libraries/libc++.so_src/include_exp/stdexcept @@ -9,18 +9,34 @@ #define _LIBCXX_STDEXCEPT_ #include "exception" +#include "string" namespace std { -class logic_error: +namespace _bits { + +class str_except: public exception +{ + ::std::string m_str; +public: + explicit str_except(const string& what_arg); + virtual ~str_except() noexcept; + str_except& operator= (const str_except& e) noexcept; + virtual const char* what() const noexcept; +}; + +} // namespace _bits + +class logic_error: + public _bits::str_except { public: explicit logic_error(const string& what_arg); }; class runtime_error: - public exception + public _bits::str_except { public: explicit runtime_error(const string& what_arg);