gcc/libstdc++-v3/testsuite
Jonathan Wakely e7722f1106 Define std::sample for C++17
* doc/xml/manual/status_cxx2017.xml: Add std::sample status.
	* doc/html/*: Regenerate.
	* include/experimental/algorithm (__sample): Move to bits/stl_algo.h
	and into namespace std.
	* include/bits/stl_algo.h (__sample): Define here. Fix invalid use
	of input iterator. Defend against overloaded comma operator.
	(sample): Define for C++17.
	* testsuite/25_algorithms/sample/1.cc: New test.

From-SVN: r241062
2016-10-12 16:26:48 +01:00
..
17_intro Fix libstdc++ versioned namespace build 2016-10-03 15:35:28 +01:00
18_support Simplify std::rethrow_if_nested definition 2016-10-11 11:33:36 +01:00
19_diagnostics
20_util Add missing return to uninitialized_default_construct_n 2016-10-12 12:20:35 +01:00
21_strings re PR libstdc++/77717 (testsuite/21_strings/basic_string_view/operations/compare/char/1.cc makes undefined memcmp call) 2016-09-26 12:46:19 +03:00
22_locale
23_containers PR 70101 fix allocator-extended ctors for std::priority_queue 2016-10-05 13:01:57 +01:00
24_iterators
25_algorithms Define std::sample for C++17 2016-10-12 16:26:48 +01:00
26_numerics LWG 2733, LWG 2759 reject bool in gcd and lcm 2016-10-10 13:17:34 +01:00
27_io libstdc++/77795 Only declare ::gets for C++98 and C++11 2016-09-30 19:28:53 +01:00
28_regex
29_atomics Make test helper work with non-copyable types 2016-10-12 14:30:49 +01:00
30_threads Do not copy std:call_once arguments (LWG 2442) 2016-10-12 12:20:25 +01:00
abi
backward
config
data
decimal
experimental 70564 fix newly-added tests for not_fn 2016-10-05 13:40:31 +01:00
ext Fix libstdc++ versioned namespace build 2016-10-03 15:35:28 +01:00
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods Enable printers and xmethods for std::__cxx11::list 2016-10-11 11:33:29 +01:00
performance
special_functions
tr1
tr2
util Make test helper work with non-copyable types 2016-10-12 14:30:49 +01:00
Makefile.am
Makefile.in Disable .gnu.attributes tags in compatibility-ldbl.o 2016-09-29 07:33:17 +09:30