OSDN Git Service

* stdexcept: Put things in the std namespace, if appropriate.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Aug 1998 12:25:32 +0000 (12:25 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Aug 1998 12:25:32 +0000 (12:25 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21788 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++/ChangeLog
libstdc++/stdexcept

index c4ccec7..c9570fe 100644 (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.
index 96be4d2..c0ac87f 100644 (file)
 
 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