diff options
author | Patrick Palka <ppalka@redhat.com> | 2024-10-05 13:48:06 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2024-10-05 13:48:06 -0400 |
commit | 7c0d1e9f2a2f1d41d9eb755c36c871d92638c4b7 (patch) | |
tree | a98dd7c4d4be8bd66a8c5afdb406ac6e7094f4bd /gcc | |
parent | a8e6360765336969e3f45ac16e4340e5e5468768 (diff) | |
download | gcc-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