gcc/libstdc++-v3/testsuite/util
Jonathan Wakely 200674232e alloc_traits.h (allocator_traits::_S_allocate): Do not use varargs when argument could be non-POD.
* 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
2014-01-29 14:57:35 +00:00
..
common_type Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
debug Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
exception Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
hash_fn Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
io Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
native_type Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
performance Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
regression Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
statistic Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
thread Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
replacement_memory_operators.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_abi_check.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_abi.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_abi.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_allocator.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_allocator.h alloc_traits.h (allocator_traits::_S_allocate): Do not use varargs when argument could be non-POD. 2014-01-29 14:57:35 +00:00
testsuite_api.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_character.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_character.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_common_types.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_container_traits.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_containergen.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_containers.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_counter_type.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_error.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_greedy_ops.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_hooks.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_hooks.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_io.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_iterators.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_performance.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_random.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_regex.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_rng.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_rvalref.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_shared.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
testsuite_tr1.h Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00