diff options
author | Patrick Palka <ppalka@redhat.com> | 2020-02-17 11:50:29 -0500 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2020-02-18 11:06:49 -0500 |
commit | f3169941996c76ecbfae9c37709d2b57652be555 (patch) | |
tree | e30850eec86962e35c48736205ccd960792c0c66 /libgfortran | |
parent | 06119d691e27e25fd4f4486467ad95f7b545fde3 (diff) | |
download | gcc-f3169941996c76ecbfae9c37709d2b57652be555.zip gcc-f3169941996c76ecbfae9c37709d2b57652be555.tar.gz gcc-f3169941996c76ecbfae9c37709d2b57652be555.tar.bz2 |
libstdc++: P1243R4 Rangify new algorithms
This adds rangified overloads for for_each_n, sample and clamp as per P1243R4.
libstdc++-v3/ChangeLog:
P1243R4 Rangify new algorithms
* include/bits/ranges_algo.h (for_each_n_result, __for_each_n_fn,
for_each_n, __sample_fn, sample, __clamp_fn, clamp): New.
* testsuite/25_algorithms/clamp/constrained.cc: New test.
* testsuite/25_algorithms/for_each/constrained.cc: Augment test.
* testsuite/25_algorithms/sample/constrained.cc: New test.
Diffstat (limited to 'libgfortran')
0 files changed, 0 insertions, 0 deletions