This makes these extensions work with types meeting the Cpp17Allocator requirements as well as the C++98 Allocator requirements. * include/backward/hash_set (hash_set): Use __alloc_traits. * include/backward/hashtable.h (_Hashtable): Likewise. * include/ext/alloc_traits.h (__alloc_traits::allocate): Add overload taking a hint. * include/ext/extptr_allocator.h (_ExtPtr_allocator::allocate): Ignore hint. * include/ext/slist (_Slist_base): Use __alloc_traits. * include/tr1/hashtable.h (_Hashtable): Likewise. * include/tr1/regex (match_results): Use vector::const_reference instead of assuming the allocator defines it. * testsuite/backward/hash_map/23528.cc: Use allocator_traits in C++11. * testsuite/tr1/6_containers/unordered_map/capacity/29134-map.cc: Use __gnu_test::max_size. * testsuite/tr1/6_containers/unordered_multimap/capacity/ 29134-multimap.cc: Likewise. * testsuite/tr1/6_containers/unordered_multiset/capacity/ 29134-multiset.cc: Likewise. * testsuite/tr1/6_containers/unordered_set/capacity/29134-set.cc: Likewise. From-SVN: r277335
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| array | Loading commit data... | |
| bessel_function.tcc | Loading commit data... | |
| beta_function.tcc | Loading commit data... | |
| ccomplex | Loading commit data... | |
| cctype | Loading commit data... | |
| cfenv | Loading commit data... | |
| cfloat | Loading commit data... | |
| cinttypes | Loading commit data... | |
| climits | Loading commit data... | |
| cmath | Loading commit data... | |
| complex | Loading commit data... | |
| complex.h | Loading commit data... | |
| cstdarg | Loading commit data... | |
| cstdbool | Loading commit data... | |
| cstdint | Loading commit data... | |
| cstdio | Loading commit data... | |
| cstdlib | Loading commit data... | |
| ctgmath | Loading commit data... | |
| ctime | Loading commit data... | |
| ctype.h | Loading commit data... | |
| cwchar | Loading commit data... | |
| cwctype | Loading commit data... | |
| ell_integral.tcc | Loading commit data... | |
| exp_integral.tcc | Loading commit data... | |
| fenv.h | Loading commit data... | |
| float.h | Loading commit data... | |
| functional | Loading commit data... | |
| functional_hash.h | Loading commit data... | |
| gamma.tcc | Loading commit data... | |
| hashtable.h | Loading commit data... | |
| hashtable_policy.h | Loading commit data... | |
| hypergeometric.tcc | Loading commit data... | |
| inttypes.h | Loading commit data... | |
| legendre_function.tcc | Loading commit data... | |
| limits.h | Loading commit data... | |
| math.h | Loading commit data... | |
| memory | Loading commit data... | |
| modified_bessel_func.tcc | Loading commit data... | |
| poly_hermite.tcc | Loading commit data... | |
| poly_laguerre.tcc | Loading commit data... | |
| random | Loading commit data... | |
| random.h | Loading commit data... | |
| random.tcc | Loading commit data... | |
| regex | Loading commit data... | |
| riemann_zeta.tcc | Loading commit data... | |
| shared_ptr.h | Loading commit data... | |
| special_function_util.h | Loading commit data... | |
| stdarg.h | Loading commit data... | |
| stdbool.h | Loading commit data... | |
| stdint.h | Loading commit data... | |
| stdio.h | Loading commit data... | |
| stdlib.h | Loading commit data... | |
| tgmath.h | Loading commit data... | |
| tuple | Loading commit data... | |
| type_traits | Loading commit data... | |
| unordered_map | Loading commit data... | |
| unordered_map.h | Loading commit data... | |
| unordered_set | Loading commit data... | |
| unordered_set.h | Loading commit data... | |
| utility | Loading commit data... | |
| wchar.h | Loading commit data... | |
| wctype.h | Loading commit data... |