gcc/libstdc++-v3/testsuite/25_algorithms
Jonathan Wakely 12d3f34b33 PR77994 Convert std::sample size argument to suitable type
PR libstdc++/77994
	* include/bits/stl_algo.h (sample): Convert size argument to iterator
	difference type.
	* include/experimental/algorithm (experimental::sample): Likewise.
	* testsuite/25_algorithms/sample/2.cc: New test.

From-SVN: r241245
2016-10-17 15:39:23 +01:00
..
adjacent_find container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
all_of container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
any_of container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
binary_search container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
clamp container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
copy container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
copy_backward container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
copy_if
copy_n container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
count
count_if
equal
equal_range container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
fill container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
fill_n container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
find container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
find_end
find_first_of
find_if container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
find_if_not container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
for_each container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
generate/requirements/explicit_instantiation
generate_n
headers
heap container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
includes container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
inplace_merge container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
is_heap container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
is_heap_until container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
is_partitioned container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
is_permutation container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
is_sorted container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
is_sorted_until container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
iter_swap container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
lexicographical_compare
lower_bound container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
make_heap container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
max container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
max_element
merge
min container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
min_element
minmax container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
minmax_element container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
mismatch
move container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
move_backward container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
next_permutation container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
none_of container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
nth_element container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
partial_sort container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
partial_sort_copy container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
partition container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
partition_copy container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
partition_point container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
pop_heap container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
prev_permutation container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
push_heap container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
random_shuffle container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
remove
remove_copy/requirements/explicit_instantiation
remove_copy_if
remove_if
replace
replace_copy
replace_copy_if
replace_if
reverse
reverse_copy/explicit_instantiation
rotate container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
rotate_copy/requirements/explicit_instantiation
sample PR77994 Convert std::sample size argument to suitable type 2016-10-17 15:39:23 +01:00
search container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
search_n container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
set_difference
set_intersection
set_symmetric_difference
set_union
shuffle container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
sort container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
sort_heap container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
stable_partition container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
stable_sort container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
swap
swap_ranges container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
transform/requirements/explicit_instantiation
unique container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
unique_copy container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
upper_bound container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00