* stdexcept: Put things in the std namespace, if appropriate.
authorMark Mitchell <mark@markmitchell.com>
Mon, 17 Aug 1998 12:25:32 +0000 (12:25 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 17 Aug 1998 12:25:32 +0000 (12:25 +0000)
From-SVN: r21788

libstdc++/ChangeLog
libstdc++/stdexcept

index c4ccec7d9a0ce3e21b330b8f5f03184de437d55d..c9570fefbcfd2dec4cca8b445d1135123b9c33ff 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 96be4d283b3d119f0948f6a544b6ab6685e05757..c0ac87fbf00e6efd159e12b3a85d6c93a69b13b3 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