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

From-SVN: r21788
This commit is contained in:
Mark Mitchell 1998-08-17 12:25:32 +00:00 committed by Mark Mitchell
parent a782562574
commit ef1090573a
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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