* include/bits/alloc_traits.h (allocator_traits::_S_allocate): Do not use varargs when argument could be non-POD. (__alloctr_rebind_helper): Eliminate static const bool member by using true_type and false_type. (allocator_traits::__allocate_helper): Likewise. (allocator_traits::__construct_helper): Likewise. (allocator_traits::__destroy_helper): Likewise. (allocator_traits::__maxsize_helper): Likewise. (allocator_traits::__select_helper): Likewise. * include/bits/ptr_traits.h (__ptrtr_rebind_helper): Likewise. * include/bits/stl_tree.h (_Rb_tree::operator=(const _Rb_tree&)): Remove redundant condition. * include/bits/stl_vector.h (vector::operator=(const vector&)): Likewise. (_Vector_impl::_M_allocate, _Vector_impl::_M_deallocate): Use indirection through __alloc_traits. * include/ext/alloc_traits.h (__allocator_always_compares_equal): Eliminate static const bool members by using true_type and false_type. (__gnu_cxx::__alloc_traits::__is_custom_pointer): Optimize. * testsuite/util/testsuite_allocator.h (PointerBase): Define. * testsuite/20_util/allocator_traits/members/allocate_hint_nonpod.cc: New. * testsuite/20_util/allocator_traits/requirements/typedefs2.cc: New. From-SVN: r207240
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
common_type | Loading commit data... | |
debug | Loading commit data... | |
exception | Loading commit data... | |
hash_fn | Loading commit data... | |
io | Loading commit data... | |
native_type | Loading commit data... | |
performance | Loading commit data... | |
regression | Loading commit data... | |
statistic | Loading commit data... | |
thread | Loading commit data... | |
replacement_memory_operators.h | Loading commit data... | |
testsuite_abi.cc | Loading commit data... | |
testsuite_abi.h | Loading commit data... | |
testsuite_abi_check.cc | Loading commit data... | |
testsuite_allocator.cc | Loading commit data... | |
testsuite_allocator.h | Loading commit data... | |
testsuite_api.h | Loading commit data... | |
testsuite_character.cc | Loading commit data... | |
testsuite_character.h | Loading commit data... | |
testsuite_common_types.h | Loading commit data... | |
testsuite_container_traits.h | Loading commit data... | |
testsuite_containergen.h | Loading commit data... | |
testsuite_containers.h | Loading commit data... | |
testsuite_counter_type.h | Loading commit data... | |
testsuite_error.h | Loading commit data... | |
testsuite_greedy_ops.h | Loading commit data... | |
testsuite_hooks.cc | Loading commit data... | |
testsuite_hooks.h | Loading commit data... | |
testsuite_io.h | Loading commit data... | |
testsuite_iterators.h | Loading commit data... | |
testsuite_performance.h | Loading commit data... | |
testsuite_random.h | Loading commit data... | |
testsuite_regex.h | Loading commit data... | |
testsuite_rng.h | Loading commit data... | |
testsuite_rvalref.h | Loading commit data... | |
testsuite_shared.cc | Loading commit data... | |
testsuite_tr1.h | Loading commit data... |