gcc/libstdc++-v3/testsuite/25_algorithms
Jonathan Wakely 5275f3e546 re PR libstdc++/58982 (std::vector<std::atomic<int>> vai(10); does not compile anymore)
PR libstdc++/58982
	* include/bits/stl_algobase.h (__copy_move::__copy_m): Use assertion
	to prevent using memmove() on non-assignable types.
	(__copy_move_backward::__copy_move_b): Likewise.
	* include/bits/stl_uninitialized.h (uninitialized_copy
	uninitialized_copy_n, uninitialized_fill, uninitialized_fill_n,
	__uninitialized_default, __uninitialized_default_n): Check for
	assignable as well as trivial.
	* testsuite/20_util/specialized_algorithms/uninitialized_copy/
	58982.cc: New.
	* testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
	58982.cc: New.
	* testsuite/20_util/specialized_algorithms/uninitialized_fill/
	58982.cc: New.
	* testsuite/20_util/specialized_algorithms/uninitialized_fill_n/
	58982.cc: New.
	* testsuite/25_algorithms/copy/58982.cc: New.
	* testsuite/25_algorithms/copy_n/58982.cc: New.

From-SVN: r204615
2013-11-09 12:38:00 +00:00
..
adjacent_find predefined_ops.h: New. 2013-09-27 21:17:36 +00:00
all_of Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
any_of Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
binary_search Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
copy re PR libstdc++/58982 (std::vector<std::atomic<int>> vai(10); does not compile anymore) 2013-11-09 12:38:00 +00:00
copy_backward Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
copy_if Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
copy_n re PR libstdc++/58982 (std::vector<std::atomic<int>> vai(10); does not compile anymore) 2013-11-09 12:38:00 +00:00
count Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
count_if Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
equal stl_algo.h (is_permutation): Add overloads from N3671. 2013-06-08 17:12:13 +01:00
equal_range Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
fill Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
fill_n Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
find predefined_ops.h: New. 2013-09-27 21:17:36 +00:00
find_end predefined_ops.h: New. 2013-09-27 21:17:36 +00:00
find_first_of predefined_ops.h: New. 2013-09-27 21:17:36 +00:00
find_if predefined_ops.h: New. 2013-09-27 21:17:36 +00:00
find_if_not predefined_ops.h: New. 2013-09-27 21:17:36 +00:00
for_each Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
generate/requirements/explicit_instantiation Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
generate_n Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
headers Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
heap predefined_ops.h: New. 2013-09-27 21:17:36 +00:00
includes Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
inplace_merge Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_heap Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_heap_until Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_partitioned Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_permutation predefined_ops.h: New. 2013-09-27 21:17:36 +00:00
is_sorted Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_sorted_until Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
iter_swap Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
lexicographical_compare Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
lower_bound Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
make_heap/requirements/explicit_instantiation Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
max Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
max_element Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
merge Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
min Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
min_element Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
minmax Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
minmax_element Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
mismatch stl_algo.h (is_permutation): Add overloads from N3671. 2013-06-08 17:12:13 +01:00
move Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
move_backward Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
next_permutation Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
none_of Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
nth_element testsuite_containergen.h: New. 2013-10-23 22:19:30 +00:00
partial_sort testsuite_containergen.h: New. 2013-10-23 22:19:30 +00:00
partial_sort_copy testsuite_containergen.h: New. 2013-10-23 22:19:30 +00:00
partition Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
partition_copy Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
partition_point Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
pop_heap re PR libstdc++/57010 ([c++0x] priority_queue<>::pop() calls self-move-assignment operator) 2013-04-22 10:07:31 +00:00
prev_permutation Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
push_heap/requirements/explicit_instantiation Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
random_shuffle Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
remove Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
remove_copy/requirements/explicit_instantiation Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
remove_copy_if Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
remove_if Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
replace Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
replace_copy Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
replace_copy_if Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
replace_if Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
reverse Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
reverse_copy/explicit_instantiation Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
rotate Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
rotate_copy/requirements/explicit_instantiation Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
search Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
search_n re PR libstdc++/58358 (search_n has a Complexity violation for random access iterator) 2013-09-11 22:24:50 +00:00
set_difference Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
set_intersection Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
set_symmetric_difference Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
set_union Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
shuffle Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
sort testsuite_containergen.h: New. 2013-10-23 22:19:30 +00:00
sort_heap Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
stable_partition Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
stable_sort Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
swap Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
swap_ranges Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
transform/requirements/explicit_instantiation Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
unique Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
unique_copy Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
upper_bound Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00