diff options
author | Patrick Palka <ppalka@redhat.com> | 2021-05-20 23:39:05 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2021-05-20 23:39:05 -0400 |
commit | 317a38cd468d565dc8ce45c6da0dbccf38808f70 (patch) | |
tree | 7c730c085b98cb2ed9004191c6e4b8ffe01106fd /gcc | |
parent | ea34e2edd3d7ab245d1f57a1487c10587f324ec6 (diff) | |
download | gcc-317a38cd468d565dc8ce45c6da0dbccf38808f70.zip gcc-317a38cd468d565dc8ce45c6da0dbccf38808f70.tar.gz gcc-317a38cd468d565dc8ce45c6da0dbccf38808f70.tar.bz2 |
libstdc++: Fix access issue in iota_view::_Sentinel [PR100690]
libstdc++-v3/ChangeLog:
PR libstdc++/100690
* include/std/ranges (iota_view::_Sentinel::_M_distance_from):
Split out this member function from ...
(iota_view::_Sentinel::operator-): ... here, for sake of access
control.
* testsuite/std/ranges/iota/iota_view.cc (test05): New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions