diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-07-01 13:24:09 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-07-01 13:24:09 +0100 |
commit | 7946683835932333aafd231f140b1e8812137bfb (patch) | |
tree | c9a4fa80f7b0e895d8e2fdc59cfd42a9bddc9bbc /gcc/rtl.c | |
parent | 4f44c5556fc384b57ea0c8c6908701bb5f1c4ed4 (diff) | |
download | gcc-7946683835932333aafd231f140b1e8812137bfb.zip gcc-7946683835932333aafd231f140b1e8812137bfb.tar.gz gcc-7946683835932333aafd231f140b1e8812137bfb.tar.bz2 |
alloc_traits.h (__alloctr_rebind): Remove.
* 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.
From-SVN: r225244
Diffstat (limited to 'gcc/rtl.c')
0 files changed, 0 insertions, 0 deletions