[PATCH 1/2] libstdc++: P1243R4 Rangify new algorithms
Jonathan Wakely
jwakely@redhat.com
Tue Feb 18 13:50:00 GMT 2020
On 17/02/20 17:00 -0500, Patrick Palka wrote:
>This adds rangified overloads for for_each_n, sample and clamp as per P1243R4.
>
>libstdc++-v3/ChangeLog:
>
> P1243R4
> * 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.
OK, thanks.
More information about the Libstdc++
mailing list