Commit ef109057 by Mark Mitchell Committed by Mark Mitchell

* stdexcept: Put things in the std namespace, if appropriate.

From-SVN: r21788
parent a7825625
1998-08-17 Mark Mitchell <mark@markmitchell.com>
* stdexcept: Put things in the std namespace, if appropriate.
1998-07-12 Jason Merrill <jason@yorick.cygnus.com>
* Makefile.in (VERSION): Bump to 2.9.0.
......
......@@ -37,6 +37,10 @@
extern "C++" {
#ifdef __HONOR_STD
namespace std {
#endif
class logic_error : public exception {
string _what;
public:
......@@ -88,6 +92,10 @@ public:
underflow_error (const string& what_arg): runtime_error (what_arg) { }
};
#ifdef __HONOR_STD
} // namespace std
#endif
} // extern "C++"
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment