gcc/libstdc++-v3/testsuite/util
Jonathan Wakely d67be4437a Protect more algorithms from overloaded comma operators
* include/bits/stl_algo.h (__find_if_not_n, generate_n): Cast to void
	to ensure overloaded comma not used.
	* include/bits/stl_algobase.h (__fill_n_a, equal): Likewise.
	* include/bits/stl_uninitialized.h (__uninitialized_fill_n)
	(__uninitialized_fill_n_a, __uninitialized_default_n_1)
	(__uninitialized_default_n_a, __uninitialized_copy_n)
	(__uninitialized_copy_n_pair): Likewise
	* testsuite/20_util/specialized_algorithms/memory_management_tools/1.cc:
	Use test iterator wrappers with overloaded comma operator.
	* testsuite/25_algorithms/fill_n/1.cc: Likewise.
	* testsuite/25_algorithms/generate_n/1.cc: New test.
	* testsuite/25_algorithms/stable_partition/1.cc: New test.
	* testsuite/util/testsuite_iterators.h (operator,): Add deleted
	non-member comma operator with iterator wrappers as right operand.

From-SVN: r254128
2017-10-27 00:50:40 +01:00
..
common_type
debug
exception
hash_fn
io
native_type
performance
regression
statistic
thread
replacement_memory_operators.h
specfun_testcase.h
testsuite_abi_check.cc
testsuite_abi.cc Fix memory leaks in libstdc++ ABI tests 2017-07-06 13:42:46 +01:00
testsuite_abi.h Fix memory leaks in libstdc++ ABI tests 2017-07-06 13:42:46 +01:00
testsuite_allocator.cc
testsuite_allocator.h stl_tree.h (_Rb_tree_impl()): Restore _Node_allocator default init. 2017-06-12 20:38:16 +00:00
testsuite_api.h
testsuite_character.cc
testsuite_character.h
testsuite_common_types.h
testsuite_container_traits.h
testsuite_containergen.h
testsuite_containers.h
testsuite_counter_type.h
testsuite_error.h
testsuite_fs.h Fix filesystem::path::lexically_normal algorithm 2017-10-25 13:42:53 +01:00
testsuite_greedy_ops.h
testsuite_hooks.cc Fix memory leaks in libstdc++ ABI tests 2017-07-06 13:42:46 +01:00
testsuite_hooks.h
testsuite_io.h
testsuite_iterators.h Protect more algorithms from overloaded comma operators 2017-10-27 00:50:40 +01:00
testsuite_new_operators.h
testsuite_performance.h
testsuite_random.h
testsuite_regex.h
testsuite_rng.h Remove reundant const-qualification from cast targets 2017-04-27 16:17:05 +01:00
testsuite_rvalref.h
testsuite_shared.cc
testsuite_tr1.h