re PR libstdc++/57263 (std::set with user-defined allocator - compile error)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Sun, 16 Jun 2013 17:13:34 +0000 (17:13 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 16 Jun 2013 17:13:34 +0000 (18:13 +0100)
commitf038f5824b16392ce101d463aa0bebeee4d3f081
treea787782bbdf54370a295ec8cc411fa7005308b66
parent8d2cddc125d4d433f3486cfdd93129bfa52877b3
re PR libstdc++/57263 (std::set with user-defined allocator - compile error)

PR libstdc++/57263
* include/bits/forward_list.h (_Fwd_list_base): Convert to/from
allocator's pointer type.
* include/bits/hashtable.h (_Hashtable): Likewise.
* testsuite/util/testsuite_allocator.h (CustomPointerAlloc): Add.
* testsuite/23_containers/forward_list/allocator/ext_ptr.cc: New.
* testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: New.
* testsuite/23_containers/vector/allocator/ext_ptr.cc: New.

From-SVN: r200136
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/forward_list.h
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/testsuite/23_containers/forward_list/allocator/ext_ptr.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/unordered_set/allocator/ext_ptr.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/allocator/ext_ptr.cc [new file with mode: 0644]
libstdc++-v3/testsuite/util/testsuite_allocator.h