aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2024-10-05 13:48:06 -0400
committerPatrick Palka <ppalka@redhat.com>2024-10-05 13:48:06 -0400
commit7c0d1e9f2a2f1d41d9eb755c36c871d92638c4b7 (patch)
treea98dd7c4d4be8bd66a8c5afdb406ac6e7094f4bd /gcc
parenta8e6360765336969e3f45ac16e4340e5e5468768 (diff)
downloadgcc-7c0d1e9f2a2f1d41d9eb755c36c871d92638c4b7.zip
gcc-7c0d1e9f2a2f1d41d9eb755c36c871d92638c4b7.tar.gz
gcc-7c0d1e9f2a2f1d41d9eb755c36c871d92638c4b7.tar.bz2
libstdc++: Implement LWG 3664 changes to ranges::distance
libstdc++-v3/ChangeLog: * include/bits/ranges_base.h (__distance_fn::operator()): Adjust iterator/sentinel overloads as per LWG 3664. * testsuite/24_iterators/range_operations/distance.cc: Test LWG 3664 example. Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions