diff options
author | Patrick Palka <ppalka@redhat.com> | 2021-05-18 00:26:07 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2021-05-18 00:26:07 -0400 |
commit | 2e2eef80ac0c21f9533e6791ccf5e29458cbb77c (patch) | |
tree | 0cd19995ce193eaefcac424a400a1f1362bdeb4f /gcc | |
parent | a7ffc1ef6e38c01037c8894a6bc1889d6f875444 (diff) | |
download | gcc-2e2eef80ac0c21f9533e6791ccf5e29458cbb77c.zip gcc-2e2eef80ac0c21f9533e6791ccf5e29458cbb77c.tar.gz gcc-2e2eef80ac0c21f9533e6791ccf5e29458cbb77c.tar.bz2 |
libstdc++: Fix miscellaneous issues with elements_view::_Sentinel [PR100631]
libstdc++-v3/ChangeLog:
PR libstdc++/100631
* include/std/ranges (elements_view::_Iterator): Also befriend
_Sentinel<!_Const>.
(elements_view::_Sentinel::_M_equal): Templatize.
(elements_view::_Sentinel::_M_distance_from): Split out from ...
(elements_view::_Sentinel::operator-): ... here. Depend on
_Base2 instead of _Base in the return type.
* testsuite/std/ranges/adaptors/elements.cc (test06, test07):
New tests.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions