r225244 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Wed Jul 1 12:24:00 GMT 2015
Author: redi
Date: Wed Jul 1 12:24:09 2015
New Revision: 225244
URL: https://gcc.gnu.org/viewcvs?rev=225244&root=gcc&view=rev
Log:
* 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.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/alloc_traits.h
trunk/libstdc++-v3/include/bits/hashtable.h
trunk/libstdc++-v3/testsuite/20_util/scoped_allocator/propagation.cc
trunk/libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc
More information about the Libstdc++-cvs
mailing list