std::inclusive_scan
Jonathan Wakely
jwakely@redhat.com
Wed Jun 19 15:32:00 GMT 2019
On 19/06/19 00:04 +0100, Jonathan Wakely wrote:
>On 18/06/19 19:08 +0100, Dietmar Kuehl via libstdc++ wrote:
>>The first release shipping the parallel algorithms is gcc-9.1.0. Specifically std::inclusive_scan() *without* execution policy seems to be missing, though. I guess, thatâs because it was an add/renamed algorithm. The versions
>>taking an execution policy are present.
>
>Right.
>
>But as of a few minutes ago (and r272459 in subversion) the versions
>without an execution policy are also present, thanks to this patch.
This is a small fix for yesterday's patch. This new test enforces the
standard's current requirement that the function object is called with
lvalues (unless you use move iterators for the range). That's probably
a defect and will be discussed at the next WG21 meeting. If we fix the
standard I'll change this test too.
Tested x86_64-linux, committed to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 3738 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190619/a4a50d11/attachment.bin>
More information about the Libstdc++
mailing list