gcc/libstdc++-v3/include/experimental
Jonathan Wakely 37cb7887f8 Add experimental::sample and experimental::shuffle from N4531
The additions to <experimental/random> were added in 2015 but the new
algorithms in <experimental/algorithm> were not. This adds them.

	* include/experimental/algorithm (sample, shuffle): Add new overloads
	using per-thread random number engine.
	* testsuite/experimental/algorithm/sample.cc: Simpify and reduce
	dependencies by using __gnu_test::test_container.
	* testsuite/experimental/algorithm/sample-2.cc: New.
	* testsuite/experimental/algorithm/shuffle.cc: New.

From-SVN: r262024
2018-06-25 17:23:49 +01:00
..
bits PR libstdc++/78870 support std::filesystem on Windows 2018-05-31 20:20:24 +01:00
algorithm Add experimental::sample and experimental::shuffle from N4531 2018-06-25 17:23:49 +01:00
any Update copyright years. 2018-01-03 11:03:58 +01:00
array Update copyright years. 2018-01-03 11:03:58 +01:00
chrono Update copyright years. 2018-01-03 11:03:58 +01:00
deque Update copyright years. 2018-01-03 11:03:58 +01:00
filesystem Update copyright years. 2018-01-03 11:03:58 +01:00
forward_list Update copyright years. 2018-01-03 11:03:58 +01:00
functional PR libstdc++/83607 specialize Boyer-Moore searchers for std::byte 2018-01-04 10:21:29 +00:00
iterator Update copyright years. 2018-01-03 11:03:58 +01:00
list Update copyright years. 2018-01-03 11:03:58 +01:00
map Update copyright years. 2018-01-03 11:03:58 +01:00
memory Update copyright years. 2018-01-03 11:03:58 +01:00
memory_resource PR libstdc++/86280 fix undefined left shift on 32-bit targets 2018-06-22 14:05:20 +01:00
numeric Update copyright years. 2018-01-03 11:03:58 +01:00
optional Update copyright years. 2018-01-03 11:03:58 +01:00
propagate_const Update copyright years. 2018-01-03 11:03:58 +01:00
random Update copyright years. 2018-01-03 11:03:58 +01:00
ratio Update copyright years. 2018-01-03 11:03:58 +01:00
regex Update copyright years. 2018-01-03 11:03:58 +01:00
set Update copyright years. 2018-01-03 11:03:58 +01:00
source_location Update copyright years. 2018-01-03 11:03:58 +01:00
string Update copyright years. 2018-01-03 11:03:58 +01:00
string_view Update copyright years. 2018-01-03 11:03:58 +01:00
system_error Update copyright years. 2018-01-03 11:03:58 +01:00
tuple Update copyright years. 2018-01-03 11:03:58 +01:00
type_traits Update copyright years. 2018-01-03 11:03:58 +01:00
unordered_map Update copyright years. 2018-01-03 11:03:58 +01:00
unordered_set Update copyright years. 2018-01-03 11:03:58 +01:00
utility Update copyright years. 2018-01-03 11:03:58 +01:00
vector Update copyright years. 2018-01-03 11:03:58 +01:00