r241062 - in /trunk/libstdc++-v3: ChangeLog doc...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Oct 12 15:26:00 GMT 2016


Author: redi
Date: Wed Oct 12 15:26:48 2016
New Revision: 241062

URL: https://gcc.gnu.org/viewcvs?rev=241062&root=gcc&view=rev
Log:
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.

Added:
    trunk/libstdc++-v3/testsuite/25_algorithms/sample/
    trunk/libstdc++-v3/testsuite/25_algorithms/sample/1.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/doc/html/manual/bugs.html
    trunk/libstdc++-v3/doc/html/manual/status.html
    trunk/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
    trunk/libstdc++-v3/include/bits/stl_algo.h
    trunk/libstdc++-v3/include/experimental/algorithm



More information about the Libstdc++-cvs mailing list