diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-10-12 16:26:48 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-10-12 16:26:48 +0100 |
commit | e7722f110626223efb2d2d63e15bb4960c4f574b (patch) | |
tree | 944b7c7b02fd7b3c1602baffe85e41cb961c11eb /libgo/runtime/go-int-array-to-string.c | |
parent | d73c92c9f2297c57153beced2475ed79e0d0736b (diff) | |
download | gcc-e7722f110626223efb2d2d63e15bb4960c4f574b.zip gcc-e7722f110626223efb2d2d63e15bb4960c4f574b.tar.gz gcc-e7722f110626223efb2d2d63e15bb4960c4f574b.tar.bz2 |
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
Diffstat (limited to 'libgo/runtime/go-int-array-to-string.c')
0 files changed, 0 insertions, 0 deletions