aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Levine <mlevine55@bloomberg.net>2024-06-07 09:54:38 +0100
committerJonathan Wakely <jwakely@redhat.com>2024-06-08 15:51:40 +0100
commit0bb1db32ccf54a9de59bea718f7575f7ef22abf5 (patch)
tree25804a34ef04dffa28b5e3e578f26039e53ad9bc /gcc
parent77e84dc4e4e60ec5e7d6d1124e226452aa558108 (diff)
downloadgcc-0bb1db32ccf54a9de59bea718f7575f7ef22abf5.zip
gcc-0bb1db32ccf54a9de59bea718f7575f7ef22abf5.tar.gz
gcc-0bb1db32ccf54a9de59bea718f7575f7ef22abf5.tar.bz2
libstdc++: Fix std::ranges::iota is not included in numeric [PR108760]
Before this patch, using std::ranges::iota required including <algorithm> when it should have been sufficient to only include <numeric>. libstdc++-v3/ChangeLog: PR libstdc++/108760 * include/bits/ranges_algo.h (ranges::out_value_result): Move to <bits/ranges_algobase.h>. (ranges::iota_result, ranges::__iota_fn, ranges::iota): Move to <numeric>. * include/bits/ranges_algobase.h (ranges::out_value_result): Move to here. * include/std/numeric (ranges::iota_result, ranges::__iota_fn) (ranges::iota): Move to here. * testsuite/25_algorithms/iota/1.cc: Renamed to ... * testsuite/26_numerics/iota/2.cc: ... here. Signed-off-by: Michael Levine <mlevine55@bloomberg.net>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions