summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/ext
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-27 15:01:45 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-27 15:01:45 +0000
commite6dd2a961fb62988ed1a1a029cdd85ddda9400ca (patch)
treef104b42ef68aa4e8b7f0571c3575ad5042722b26 /libstdc++-v3/include/ext
parent69ebef964fad21455b222934c426a17c19554870 (diff)
downloadgcc-e6dd2a961fb62988ed1a1a029cdd85ddda9400ca.tar.gz
2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/20534 * include/debug/debug.h: Forwarding header, that pulls in details only if in debug mode. * include/debug/macros.h: ...transfer all the internal macros here. * include/debug/functions.h: ...transfer all the functions here. * include/debug/safe_iterator.h: Add functions.h, macros.h includes. * include/debug/safe_sequence.h: Same. * include/debug/vector: Tweak. * include/Makefile.am (debug_headers): Add new includes. * include/Makefile.in: Regenerate. * testsuite/17_intro/no_assert_neg.cc: Add. * include/ext/hash_set: Add debug mode include. * include/ext/hash_map: Same. * include/debug/hash_map: Fix included files to match actual files. * include/debug/hash_set: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100255 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/ext')
-rw-r--r--libstdc++-v3/include/ext/hash_map7
-rw-r--r--libstdc++-v3/include/ext/hash_set7
2 files changed, 12 insertions, 2 deletions
diff --git a/libstdc++-v3/include/ext/hash_map b/libstdc++-v3/include/ext/hash_map
index eff10e0272b..20eebeb29a2 100644
--- a/libstdc++-v3/include/ext/hash_map
+++ b/libstdc++-v3/include/ext/hash_map
@@ -1,6 +1,6 @@
// Hashing map implementation -*- C++ -*-
-// Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2004, 2005 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
@@ -617,4 +617,9 @@ namespace std
{ return *this; }
};
} // namespace std
+
+#ifdef _GLIBCXX_DEBUG
+# include <debug/hash_map>
+#endif
+
#endif
diff --git a/libstdc++-v3/include/ext/hash_set b/libstdc++-v3/include/ext/hash_set
index f6e791a500f..120bfc5ae4b 100644
--- a/libstdc++-v3/include/ext/hash_set
+++ b/libstdc++-v3/include/ext/hash_set
@@ -1,6 +1,6 @@
// Hashing set implementation -*- C++ -*-
-// Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2004, 2005 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
@@ -583,4 +583,9 @@ namespace std
operator++(int) { return *this; }
};
} // namespace std
+
+#ifdef _GLIBCXX_DEBUG
+# include <debug/hash_set>
+#endif
+
#endif