]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/26142 (global debug namespace clashes everywhere)
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 9 Feb 2006 04:31:38 +0000 (04:31 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 9 Feb 2006 04:31:38 +0000 (04:31 +0000)
2006-02-08  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/26142
* include/debug/debug.h: Move debug alias inside namespace std,
same with namespace __gnu_cxx. Add top-level __gnu_debug
namespace.
* include/debug/hash_multimap.h: Nest within __gnu_cxx, not
std. Also, change nesting namespace name from __gnu_debug_def to
__gnu_debug.
* include/debug/hash_map.h: Same.
* include/debug/hash_multiset.h: Same.
* include/debug/hash_set.h: Same.
* docs/html/debug.html: Same.
* testsuite/23_containers/vector/26412.cc: New.
* testsuite/23_containers/vector/invalidation/1.cc:  Correct
qualifications for debug namespace change.
* testsuite/23_containers/vector/invalidation/2.cc: Same.
* testsuite/23_containers/vector/invalidation/3.cc: Same.
* testsuite/23_containers/vector/invalidation/4.cc: Same.
* testsuite/23_containers/deque/invalidation/1.cc: Same.
* testsuite/23_containers/deque/invalidation/2.cc: Same.
* testsuite/23_containers/deque/invalidation/3.cc: Same.
* testsuite/23_containers/deque/invalidation/4.cc: Same.
* testsuite/23_containers/multiset/invalidation/1.cc: Same.
* testsuite/23_containers/multiset/invalidation/2.cc: Same.
* testsuite/23_containers/multimap/invalidation/1.cc: Same.
* testsuite/23_containers/multimap/invalidation/2.cc: Same.
* testsuite/23_containers/bitset/invalidation/1.cc: Same.
* testsuite/23_containers/bitset/cons/16020.cc: Same.
* testsuite/23_containers/bitset/operations/13838.cc: Same.
* testsuite/23_containers/list/invalidation/1.cc: Same.
* testsuite/23_containers/list/invalidation/2.cc: Same.
* testsuite/23_containers/list/invalidation/3.cc: Same.
* testsuite/23_containers/list/invalidation/4.cc: Same.
* testsuite/23_containers/set/invalidation/1.cc: Same.
* testsuite/23_containers/set/invalidation/2.cc: Same.
* testsuite/23_containers/map/invalidation/1.cc: Same.
* testsuite/23_containers/map/invalidation/2.cc: Same.
* testsuite/23_containers/map/modifiers/insert/16813.cc: Same.
* testsuite/21_strings/basic_string/2.cc: Same.

From-SVN: r110786

32 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/docs/html/debug.html
libstdc++-v3/include/debug/debug.h
libstdc++-v3/include/debug/hash_map.h
libstdc++-v3/include/debug/hash_multimap.h
libstdc++-v3/include/debug/hash_multiset.h
libstdc++-v3/include/debug/hash_set.h
libstdc++-v3/testsuite/21_strings/basic_string/2.cc
libstdc++-v3/testsuite/23_containers/bitset/cons/16020.cc
libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc
libstdc++-v3/testsuite/23_containers/bitset/operations/13838.cc
libstdc++-v3/testsuite/23_containers/deque/invalidation/1.cc
libstdc++-v3/testsuite/23_containers/deque/invalidation/2.cc
libstdc++-v3/testsuite/23_containers/deque/invalidation/3.cc
libstdc++-v3/testsuite/23_containers/deque/invalidation/4.cc
libstdc++-v3/testsuite/23_containers/list/invalidation/1.cc
libstdc++-v3/testsuite/23_containers/list/invalidation/2.cc
libstdc++-v3/testsuite/23_containers/list/invalidation/3.cc
libstdc++-v3/testsuite/23_containers/list/invalidation/4.cc
libstdc++-v3/testsuite/23_containers/map/invalidation/1.cc
libstdc++-v3/testsuite/23_containers/map/invalidation/2.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/insert/16813.cc
libstdc++-v3/testsuite/23_containers/multimap/invalidation/1.cc
libstdc++-v3/testsuite/23_containers/multimap/invalidation/2.cc
libstdc++-v3/testsuite/23_containers/multiset/invalidation/1.cc
libstdc++-v3/testsuite/23_containers/multiset/invalidation/2.cc
libstdc++-v3/testsuite/23_containers/set/invalidation/1.cc
libstdc++-v3/testsuite/23_containers/set/invalidation/2.cc
libstdc++-v3/testsuite/23_containers/vector/invalidation/1.cc
libstdc++-v3/testsuite/23_containers/vector/invalidation/2.cc
libstdc++-v3/testsuite/23_containers/vector/invalidation/3.cc
libstdc++-v3/testsuite/23_containers/vector/invalidation/4.cc

index 84e399303c82db847afbccddd9ef8dc66d353306..38ae3c72c743c5e6282524886325f23755014dae 100644 (file)
@@ -1,3 +1,44 @@
+2006-02-08  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/26142
+       * include/debug/debug.h: Move debug alias inside namespace std,
+       same with namespace __gnu_cxx. Add top-level __gnu_debug
+       namespace.      
+       * include/debug/hash_multimap.h: Nest within __gnu_cxx, not
+       std. Also, change nesting namespace name from __gnu_debug_def to
+       __gnu_debug.    
+       * include/debug/hash_map.h: Same.
+       * include/debug/hash_multiset.h: Same.
+       * include/debug/hash_set.h: Same.
+       * docs/html/debug.html: Same.
+       * testsuite/23_containers/vector/26412.cc: New.
+       * testsuite/23_containers/vector/invalidation/1.cc:  Correct
+       qualifications for debug namespace change.
+       * testsuite/23_containers/vector/invalidation/2.cc: Same.
+       * testsuite/23_containers/vector/invalidation/3.cc: Same.
+       * testsuite/23_containers/vector/invalidation/4.cc: Same.
+       * testsuite/23_containers/deque/invalidation/1.cc: Same.
+       * testsuite/23_containers/deque/invalidation/2.cc: Same.
+       * testsuite/23_containers/deque/invalidation/3.cc: Same.
+       * testsuite/23_containers/deque/invalidation/4.cc: Same.
+       * testsuite/23_containers/multiset/invalidation/1.cc: Same.
+       * testsuite/23_containers/multiset/invalidation/2.cc: Same.
+       * testsuite/23_containers/multimap/invalidation/1.cc: Same.
+       * testsuite/23_containers/multimap/invalidation/2.cc: Same.
+       * testsuite/23_containers/bitset/invalidation/1.cc: Same.
+       * testsuite/23_containers/bitset/cons/16020.cc: Same.
+       * testsuite/23_containers/bitset/operations/13838.cc: Same.
+       * testsuite/23_containers/list/invalidation/1.cc: Same.
+       * testsuite/23_containers/list/invalidation/2.cc: Same.
+       * testsuite/23_containers/list/invalidation/3.cc: Same.
+       * testsuite/23_containers/list/invalidation/4.cc: Same.
+       * testsuite/23_containers/set/invalidation/1.cc: Same.
+       * testsuite/23_containers/set/invalidation/2.cc: Same.
+       * testsuite/23_containers/map/invalidation/1.cc: Same.
+       * testsuite/23_containers/map/invalidation/2.cc: Same.
+       * testsuite/23_containers/map/modifiers/insert/16813.cc: Same.
+       * testsuite/21_strings/basic_string/2.cc: Same.
+
 2006-02-08  Paolo Carlini  <pcarlini@suse.de>
 
        PR libstdc++/26133  (DR 241, [WP])
index 6bea7f41e7a3e80e4c165c9eed0ef566173374c6..f2f4c63e539a1a9a86a3a84e442c23b73c410de8 100644 (file)
   <tr>
     <td>std::bitset</td>
     <td>&lt;bitset&gt;</td>
-    <td>debug::bitset</td>
+    <td>__gnu_debug::bitset</td>
     <td>&lt;debug/bitset&gt;</td>
   </tr>
   <tr>
     <td>std::deque</td>
     <td>&lt;deque&gt;</td>
-    <td>debug::deque</td>
+    <td>__gnu_debug::deque</td>
     <td>&lt;debug/deque&gt;</td>
   </tr>
   <tr>
     <td>std::list</td>
     <td>&lt;list&gt;</td>
-    <td>debug::list</td>
+    <td>__gnu_debug::list</td>
     <td>&lt;debug/list&gt;</td>
   </tr>
   <tr>
     <td>std::map</td>
     <td>&lt;map&gt;</td>
-    <td>debug::map</td>
+    <td>__gnu_debug::map</td>
     <td>&lt;debug/map&gt;</td>
   </tr>
   <tr>
     <td>std::multimap</td>
     <td>&lt;map&gt;</td>
-    <td>debug::multimap</td>
+    <td>__gnu_debug::multimap</td>
     <td>&lt;debug/map&gt;</td>
   </tr>
   <tr>
     <td>std::multiset</td>
     <td>&lt;set&gt;</td>
-    <td>debug::multiset</td>
+    <td>__gnu_debug::multiset</td>
     <td>&lt;debug/set&gt;</td>
   </tr>
   <tr>
     <td>std::set</td>
     <td>&lt;set&gt;</td>
-    <td>debug::set</td>
+    <td>__gnu_debug::set</td>
     <td>&lt;debug/set&gt;</td>
   </tr>
   <tr>
     <td>std::string</td>
     <td>&lt;string&gt;</td>
-    <td>debug::string</td>
+    <td>__gnu_debug::string</td>
     <td>&lt;debug/string&gt;</td>
   </tr>
   <tr>
     <td>std::wstring</td>
     <td>&lt;string&gt;</td>
-    <td>debug::wstring</td>
+    <td>__gnu_debug::wstring</td>
     <td>&lt;debug/string&gt;</td>
   </tr>
   <tr>
     <td>std::basic_string</td>
     <td>&lt;string&gt;</td>
-    <td>debug::basic_string</td>
+    <td>__gnu_debug::basic_string</td>
     <td>&lt;debug/string&gt;</td>
   </tr>
   <tr>
     <td>std::vector</td>
     <td>&lt;vector&gt;</td>
-    <td>debug::vector</td>
+    <td>__gnu_debug::vector</td>
     <td>&lt;debug/vector&gt;</td>
   </tr>
   <tr>
     <td>__gnu_cxx::hash_map</td>
     <td>&lt;ext/hash_map&gt;</td>
-    <td>debug::hash_map</td>
+    <td>__gnu_debug::hash_map</td>
     <td>&lt;debug/hash_map&gt;</td>
   </tr>
   <tr>
     <td>__gnu_cxx::hash_multimap</td>
     <td>&lt;ext/hash_map&gt;</td>
-    <td>debug::hash_multimap</td>
+    <td>__gnu_debug::hash_multimap</td>
     <td>&lt;debug/hash_map&gt;</td>
   </tr>
   <tr>
     <td>__gnu_cxx::hash_set</td>
     <td>&lt;ext/hash_set&gt;</td>
-    <td>debug::hash_set</td>
+    <td>__gnu_debug::hash_set</td>
     <td>&lt;debug/hash_set&gt;</td>
   </tr>
   <tr>
     <td>__gnu_cxx::hash_multiset</td>
     <td>&lt;ext/hash_set&gt;</td>
-    <td>debug::hash_multiset</td>
+    <td>__gnu_debug::hash_multiset</td>
     <td>&lt;debug/hash_set&gt;</td>
   </tr>
 </table>
index 4eff05bdab6a267c8d221007db090601783b2216..e2aaf0f3323c34bd913afdeba5f05d433a11aadc 100644 (file)
@@ -1,6 +1,6 @@
 // Debugging support implementation -*- C++ -*-
 
-// Copyright (C) 2003, 2005
+// Copyright (C) 2003, 2005, 2006
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
  *  standard library algorithms.
 */
 
-
 namespace std 
 { 
   namespace __gnu_debug_def { } 
   namespace __gnu_debug { using namespace __gnu_debug_def; } 
+  namespace debug = __gnu_debug;
+}
+
+namespace __gnu_cxx
+{ 
+  namespace __gnu_debug { };
+  namespace debug = __gnu_debug;
 }
 
-namespace debug = std::__gnu_debug;
+namespace __gnu_debug
+{
+  using namespace std::debug;
+  using namespace __gnu_cxx::debug;
+}
 
 #ifdef _GLIBCXX_DEBUG
 
index e02b747a04dbc134b1fbb85ae6f2f1104df24eae..d431d7d454dd3f129283e1427d553ab8839f6d79 100644 (file)
@@ -1,6 +1,6 @@
 // Debugging hash_map implementation -*- C++ -*-
 
-// Copyright (C) 2003, 2005
+// Copyright (C) 2003, 2005, 2006
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -34,9 +34,9 @@
 #include <debug/safe_sequence.h>
 #include <debug/safe_iterator.h>
 
-namespace std
+namespace __gnu_cxx
 {
-namespace __gnu_debug_def
+namespace __gnu_debug
 {
   template<typename _Value, typename _Tp,
           typename _HashFcn  = __gnu_cxx::hash<_Value>,
@@ -267,7 +267,7 @@ namespace __gnu_debug_def
     swap(hash_map<_Value, _Tp, _HashFcn, _EqualKey, _Alloc>& __x,
         hash_map<_Value, _Tp, _HashFcn, _EqualKey, _Alloc>& __y)
     { __x.swap(__y); }
-} // namespace __gnu_debug_def
-} // namespace std
+} // namespace __gnu_debug
+} // namespace __gnu_cxx
 
 #endif
index 5cce135aa43831768a763d7f20620d31c7e147d4..2073df09d186503e9573ffd523efffeee0ad3b6c 100644 (file)
@@ -1,6 +1,6 @@
 // Debugging hash_multimap implementation -*- C++ -*-
 
-// Copyright (C) 2003, 2005
+// Copyright (C) 2003, 2005, 2006
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -34,9 +34,9 @@
 #include <debug/safe_sequence.h>
 #include <debug/safe_iterator.h>
 
-namespace std
+namespace __gnu_cxx
 {
-namespace __gnu_debug_def
+namespace __gnu_debug
 {
   template<typename _Value, typename _Tp,
           typename _HashFcn  = __gnu_cxx::hash<_Value>,
@@ -258,7 +258,7 @@ namespace __gnu_debug_def
     swap(hash_multimap<_Value, _Tp, _HashFcn, _EqualKey, _Alloc>& __x,
         hash_multimap<_Value, _Tp, _HashFcn, _EqualKey, _Alloc>& __y)
     { __x.swap(__y); }
-} // namespace __gnu_debug_def
-} // namespace std
+} // namespace __gnu_debug
+} // namespace __gnu_cxx
 
 #endif
index 83d5619b9cd357c4ed5671fd6ea5dcc8cb10598f..7627afe9e34d8c63b5055533eeee9ebcf539bdce 100644 (file)
@@ -1,6 +1,6 @@
 // Debugging hash_multiset implementation -*- C++ -*-
 
-// Copyright (C) 2003, 2005
+// Copyright (C) 2003, 2005, 2006
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -34,9 +34,9 @@
 #include <debug/safe_sequence.h>
 #include <debug/safe_iterator.h>
 
-namespace std
+namespace __gnu_cxx
 {
-namespace __gnu_debug_def
+namespace __gnu_debug
 {
   template<typename _Value,
           typename _HashFcn  = __gnu_cxx::hash<_Value>,
@@ -233,7 +233,7 @@ template<typename _Value, typename _HashFcn, typename _EqualKey, typename _Alloc
   swap(hash_multiset<_Value, _HashFcn, _EqualKey, _Alloc>& __x,
        hash_multiset<_Value, _HashFcn, _EqualKey, _Alloc>& __y)
   { __x.swap(__y); }
-} // namespace __gnu_debug_def
-} // namespace std
+} // namespace __gnu_debug
+} // namespace __gnu_cxx
 
 #endif
index e1dd83bc646066867b43e020ad582015ece29690..f5477f099cb58f40def5ab1d94af2a4aefd5baea 100644 (file)
@@ -1,6 +1,6 @@
 // Debugging hash_set implementation -*- C++ -*-
 
-// Copyright (C) 2003, 2005
+// Copyright (C) 2003, 2005, 2006
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -34,9 +34,9 @@
 #include <debug/safe_sequence.h>
 #include <debug/safe_iterator.h>
 
-namespace std
+namespace __gnu_cxx
 {
-namespace __gnu_debug_def
+namespace __gnu_debug
 {
   template<typename _Value,
           typename _HashFcn  = __gnu_cxx::hash<_Value>,
@@ -242,7 +242,7 @@ namespace __gnu_debug_def
     swap(hash_set<_Value, _HashFcn, _EqualKey, _Alloc>& __x,
         hash_set<_Value, _HashFcn, _EqualKey, _Alloc>& __y)
     { __x.swap(__y); }
-} // namespace __gnu_debug_def
-} // namespace std
+} // namespace __gnu_debug
+} // namespace __gnu_cxx
 
 #endif
index 8c6c687554ce362e621126c72fea9f5785fcdd6a..8b021755786b734ccf39c51fb9f0a72621359d06 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2005 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,5 +32,6 @@
 // { dg-do compile }
 
 // libstdc++/21770
+namespace debug = __gnu_debug;
 template class debug::basic_string<int, std::char_traits<int>, 
                                   std::allocator<char> >;
index af24d0417305adfa15df2d302f5d825d080aee37..f062081ccdbdb01aa81cf81f75da978ac33bbde2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2004 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 // libstdc++/16020
 void test01()
 {
-  using debug::bitset;
+  using __gnu_debug::bitset;
   bool test __attribute__((unused)) = true;
 
   bitset<5> b(7);
index 0be47f25dd7c4c117f7b1455493325ef6c4d9775..176bce16421a43ca47a93b1986d5383810473b91 100644 (file)
@@ -1,6 +1,6 @@
 // Bitset reference invalidation tests
 
-// Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -21,7 +21,7 @@
 #include <debug/bitset>
 #include <testsuite_hooks.h>
 
-using debug::bitset;
+using __gnu_debug::bitset;
 
 bool test = true;
 
index 7bb6688739296bc404e1b234e88840aee1709571..a3cfa15d1053edefb604914f91c1395429ee313e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2004 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 // libstdc++/13838
 void test01()
 {
-  using debug::bitset;
+  using __gnu_debug::bitset;
   bool test __attribute__((unused)) = true;
 
   bitset<4>  b0, b1;
index 83f69dddcf6200cc046e5ed1693ce241b2ff402d..6f31d14a5d50554bb577d8d9b6d19ccceb59137b 100644 (file)
@@ -1,6 +1,6 @@
 // Deque iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -21,7 +21,7 @@
 #include <debug/deque>
 #include <testsuite_hooks.h>
 
-using debug::deque;
+using __gnu_debug::deque;
 
 bool test = true;
 
index 2e179f57ea1d2fe9ba096a3280f572c1c70c7521..b397afe24eb2b94d5a9aedc7976d09fe75a9ea8e 100644 (file)
@@ -1,6 +1,6 @@
 // Deque iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -21,7 +21,7 @@
 #include <debug/deque>
 #include <testsuite_hooks.h>
 
-using debug::deque;
+using __gnu_debug::deque;
 
 bool test = true;
 
index f7abfcf01b2f3ca8ca215afa161c1b1870ee03ae..3ed3a8ab0d0a6f19f2fd19739196ad4760178d1c 100644 (file)
@@ -1,6 +1,6 @@
 // Deque iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -21,7 +21,7 @@
 #include <debug/deque>
 #include <testsuite_hooks.h>
 
-using debug::deque;
+using __gnu_debug::deque;
 
 bool test = true;
 
index 1ee306188fb23328e246ca861b0b52f1f7557e6e..dbb206153f60319381b43e4a4f6a92c5dcde284d 100644 (file)
@@ -1,6 +1,6 @@
 // Deque iterator invalidation tests
 
-// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -21,7 +21,7 @@
 #include <debug/deque>
 #include <testsuite_hooks.h>
 
-using debug::deque;
+using __gnu_debug::deque;
 
 bool test = true;
 
index 3ae8525c26ad25400db210a8b80a30da7b26c2de..94cb29d944ebc3e533fc7ec212df770f6898644c 100644 (file)
@@ -1,6 +1,6 @@
 // List iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 #include <iterator>
 #include <testsuite_hooks.h>
 
-using debug::list;
+using __gnu_debug::list;
 using std::advance;
 
 bool test = true;
index 9889c511a610de16d366cc9868df98ebb6bb32e3..2aebcf5573ce1e2d16e65eefe473d99cdb716652 100644 (file)
@@ -1,6 +1,6 @@
 // List iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 #include <iterator>
 #include <testsuite_hooks.h>
 
-using debug::list;
+using __gnu_debug::list;
 using std::advance;
 
 bool test = true;
index a224123a83efc71730eb2132913f2b2b3d18e84b..a0edd2002a950e110eec5d64d6eeba5696a0abb7 100644 (file)
@@ -1,6 +1,6 @@
 // List iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 #include <iterator>
 #include <testsuite_hooks.h>
 
-using debug::list;
+using __gnu_debug::list;
 using std::advance;
 
 bool test = true;
index 2da08675a26a2a3c51e078d00b89cb73d6e7165f..04f0d25197d445daff19e002885f6396f5cb6346 100644 (file)
@@ -1,6 +1,6 @@
 // List iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 #include <iterator>
 #include <testsuite_hooks.h>
 
-using debug::list;
+using __gnu_debug::list;
 using std::advance;
 
 bool test = true;
index b3665e6e11684bf61f9038f983599bb248335ae6..733440d7b03c484b1adc83803b62d1f87c571502 100644 (file)
@@ -1,6 +1,6 @@
 // Map iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 #include <iterator>
 #include <testsuite_hooks.h>
 
-using debug::map;
+using __gnu_debug::map;
 using std::advance;
 
 bool test = true;
index 9b596e4c64d3f7f20a0b6346a6e292708adcf7fe..8e6eca901a6d7855b12bc6d17c58e9498648631d 100644 (file)
@@ -1,6 +1,6 @@
 // Map iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 #include <iterator>
 #include <testsuite_hooks.h>
 
-using debug::map;
+using __gnu_debug::map;
 using std::advance;
 
 bool test = true;
index 1132aad7748828ab669cffcf9c619ceca2260c7b..322231c9cf18d2e693c4368d1195dd1feac01a17 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2004 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 // libstdc++/16813
 void test01()
 {
-  using debug::map;
+  using __gnu_debug::map;
   bool test __attribute__((unused)) = true;
 
   map<int, float> m1, m2;
index c2ae547a2fbb35b305e30691ad92122799c82804..c58bfc48278ac278d1086e822a922dbb8250bcd3 100644 (file)
@@ -1,6 +1,6 @@
 // Multimap iterator invalidation tests
 
-// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -23,7 +23,7 @@
 #include <testsuite_hooks.h>
 #include <utility>
 
-using debug::multimap;
+using __gnu_debug::multimap;
 using std::advance;
 
 bool test = true;
index 23ad5b31839da757d15e4178a6ed760186ddde10..7ac1672370fbc4b56c8236dbae872fd2065dd82b 100644 (file)
@@ -1,6 +1,6 @@
 // Multimap iterator invalidation tests
 
-// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -23,7 +23,7 @@
 #include <testsuite_hooks.h>
 #include <utility>
 
-using debug::multimap;
+using __gnu_debug::multimap;
 using std::advance;
 
 bool test = true;
index 2ed58cc323ffc1dcdc1715eeb2b6f1867afd40de..6e7aca1e97cfefeef9bec0a423096cf960e16030 100644 (file)
@@ -1,6 +1,6 @@
 // Multiset iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 #include <iterator>
 #include <testsuite_hooks.h>
 
-using debug::multiset;
+using __gnu_debug::multiset;
 using std::advance;
 
 bool test = true;
index ac7661562618fbe6d8506517e8694febccc734ae..e7d5ad63e1d9649d2cb8ad8cc59cbf2f10fb1483 100644 (file)
@@ -1,6 +1,6 @@
 // Multiset iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 #include <iterator>
 #include <testsuite_hooks.h>
 
-using debug::multiset;
+using __gnu_debug::multiset;
 using std::advance;
 
 // Erase
index 5cebadba64d30a4210960b3bb26835f343c2b60a..cf40510217efec37ab5494ec7b890b01d4301d0d 100644 (file)
@@ -1,6 +1,6 @@
 // Set iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 #include <iterator>
 #include <testsuite_hooks.h>
 
-using debug::set;
+using __gnu_debug::set;
 using std::advance;
 
 bool test = true;
index 6c3c8de5ec522469b71cfa3206b7c27fb61f50b4..72d02bf9738d673af427f8c1d7d1e61b2d14d3e7 100644 (file)
@@ -1,6 +1,6 @@
 // Set iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -22,7 +22,7 @@
 #include <iterator>
 #include <testsuite_hooks.h>
 
-using debug::set;
+using __gnu_debug::set;
 using std::advance;
 
 // Erase
index 8e5a1544150695d9b20051db728bc2bc50762f60..1a18d75689780d64f4b88a56fd76e9cad34fc04e 100644 (file)
@@ -1,6 +1,6 @@
 // Vector iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -28,7 +28,7 @@
 #include <debug/vector>
 #include <testsuite_hooks.h>
 
-using debug::vector;
+using __gnu_debug::vector;
 
 bool test = true;
 
index 76b7849028bb7f099b779433941058e7553dab44..368d4d7a435457ff3c3a0a3598e3349aee2a4ade 100644 (file)
@@ -1,6 +1,6 @@
 // Vector iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -28,7 +28,7 @@
 #include <debug/vector>
 #include <testsuite_hooks.h>
 
-using debug::vector;
+using __gnu_debug::vector;
 
 bool test = true;
 
index b182e046db4ee6b37bd0ff46b68b44a108aea851..86ae756e5e24da11e42e6ccb2a144fad8f065b95 100644 (file)
@@ -1,6 +1,6 @@
 // Vector iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -28,7 +28,7 @@
 #include <debug/vector>
 #include <testsuite_hooks.h>
 
-using debug::vector;
+using __gnu_debug::vector;
 
 bool test = true;
 
index 540e60e47d5b9183dcd6cca744720bb73b2a21b4..fb8a49360c4a0853732a96babfb8ed06c1c2a8a9 100644 (file)
@@ -1,6 +1,6 @@
 // Vector iterator invalidation tests
 
-// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -28,7 +28,7 @@
 #include <debug/vector>
 #include <testsuite_hooks.h>
 
-using debug::vector;
+using __gnu_debug::vector;
 
 bool test = true;