summaryrefslogtreecommitdiff
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2012-11-05 21:10:27 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2012-11-05 21:10:27 +0000
commite77c9aedcda056161ff93b55c86789266c1895c9 (patch)
tree553f439a5157ae50ed27353875aa3cac4fd0c23b /libstdc++-v3/src
parent684592672f5aa8383f6985a33af99c73afc49292 (diff)
downloadgcc-e77c9aedcda056161ff93b55c86789266c1895c9.tar.gz
forward_list: Update to meet allocator-aware requirements.
* include/profile/forward_list: Update to meet allocator-aware requirements. * include/debug/forward_list: Likewise. * include/debug/vector: Verify allocators are swapped or equal. * include/debug/macros.h (__glibcxx_check_equal_allocs): Define. * include/debug/formatter.h: Add new debug message. * src/c++11/debug.cc: Likewise. * testsuite/23_containers/forward_list/allocator/swap.cc: Do not swap containers with non-propagating, non-equal allocators. * testsuite/23_containers/vector/allocator/swap.cc: Likewise. From-SVN: r193186
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r--libstdc++-v3/src/c++11/debug.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/src/c++11/debug.cc b/libstdc++-v3/src/c++11/debug.cc
index 8a18026a44e..f7725ed50db 100644
--- a/libstdc++-v3/src/c++11/debug.cc
+++ b/libstdc++-v3/src/c++11/debug.cc
@@ -181,7 +181,8 @@ namespace __gnu_debug
"attempt to self move assign",
"attempt to access container with out-of-bounds bucket index %2;,"
" container only holds %3; buckets",
- "load factor shall be positive"
+ "load factor shall be positive",
+ "allocators must be equal"
};
void