* include/bits/alloc_traits.h (__alloctr_rebind): Remove.
commitbdccabb2604c4a2f714cea5846ad8526cd2eb496
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Jul 2015 12:24:09 +0000 (1 12:24 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Jul 2015 12:24:09 +0000 (1 12:24 +0000)
treec9a4fa80f7b0e895d8e2fdc59cfd42a9bddc9bbc
parentd64cb7f0cfa2c6eaaa675b7ec8b43dfe2001ca52
* include/bits/alloc_traits.h (__alloctr_rebind): Remove.
(__allocator_traits_base): New base class.
(__alloc_rebind): Reimplement in terms of detection idiom.
(allocator_traits): Derive from __allocator_traits_base. Reimplement
nested types in terms of detection idiom. Simplify SFINAE constraints
on overloaded static member functions.
* include/bits/hashtable.h (_Hashtable): Use __alloc_rebind instead
of __alloctr_rebind.
* testsuite/20_util/scoped_allocator/propagation.cc: Define rebind.
* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
dg-error line number.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225244 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/alloc_traits.h
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/testsuite/20_util/scoped_allocator/propagation.cc
libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc