std::inclusive_scan
Bence Kodaj
bence.kodaj@gmail.com
Tue Jun 18 17:22:00 GMT 2019
Dear libstdc++ list members,
Could you tell me whether std::inclusive_scan is supposed to be included in
the most recent version of libstdc++?
Apologies if this is a well-known issue - I did search the list archive for
inclusive_scan at https://gcc.gnu.org/ml/libstdc++/ , and I got no hits.
Why I'm asking: per
https://en.cppreference.com/w/cpp/algorithm/inclusive_scan , this algorithm
is supposed to be part of the STL since C++17, but apparently, it's missing
from the version of libstdc++ that shipped with gcc 8.1 (which I installed
a few months ago). I also looked in the git mirror of the libstdc++ source
code (https://github.com/gcc-mirror/gcc/tree/master/libstdc%2B%2B-v3), but
there's no inclusive_scan in any of the <numeric> headers I found
(include/std/numeric, include/experimental/numeric, include/ext/numeric,
include/parallel/numeric).
Am I missing something, or is std::inclusive_scan actually not part of the
most recent libstdc++?
Best regards,
Bence Kodaj
More information about the Libstdc++
mailing list