diff options
author | Patrick Palka <ppalka@redhat.com> | 2021-08-02 15:30:13 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2021-08-02 15:30:13 -0400 |
commit | 4414057186b227edf5b5efa527732bfcdf39d575 (patch) | |
tree | eb77d88f78273df65c65076bb299d3c32cf7d14f /gcc/go | |
parent | 0e1bb3c88c7bd624bc34d6cebe3df9532f1858f0 (diff) | |
download | gcc-4414057186b227edf5b5efa527732bfcdf39d575.zip gcc-4414057186b227edf5b5efa527732bfcdf39d575.tar.gz gcc-4414057186b227edf5b5efa527732bfcdf39d575.tar.bz2 |
libstdc++: Fix up implementation of LWG 3533 [PR101589]
In r12-569 I accidentally applied the LWG 3533 change to
elements_view::iterator::base instead to elements_view::base.
This patch corrects this, and also applies the corresponding LWG 3533
change to lazy_split_view::inner-iter::base now that we implement P2210.
PR libstdc++/101589
libstdc++-v3/ChangeLog:
* include/std/ranges (lazy_split_view::_InnerIter::base): Make
the const& overload unconstrained and return a const reference
as per LWG 3533. Make unconditionally noexcept.
(elements_view::base): Revert accidental r12-569 change.
(elements_view::_Iterator::base): Make the const& overload
unconstrained and return a const reference as per LWG 3533.
Make unconditionally noexcept.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions