forward_list: Update to meet allocator-aware requirements.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Mon, 5 Nov 2012 21:10:27 +0000 (21:10 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 5 Nov 2012 21:10:27 +0000 (21:10 +0000)
commite77c9aedcda056161ff93b55c86789266c1895c9
tree553f439a5157ae50ed27353875aa3cac4fd0c23b
parent684592672f5aa8383f6985a33af99c73afc49292
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
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/formatter.h
libstdc++-v3/include/debug/forward_list
libstdc++-v3/include/debug/macros.h
libstdc++-v3/include/debug/vector
libstdc++-v3/include/profile/forward_list
libstdc++-v3/src/c++11/debug.cc
libstdc++-v3/testsuite/23_containers/forward_list/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/vector/allocator/swap.cc