]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Implement LWG 3523 changes to ranges::iota_view
authorPatrick Palka <ppalka@redhat.com>
Tue, 19 Oct 2021 21:54:24 +0000 (17:54 -0400)
committerPatrick Palka <ppalka@redhat.com>
Tue, 19 Oct 2021 21:54:24 +0000 (17:54 -0400)
commit861440a77b62756d200ae356c4fdfd9653902e77
treed0cbdeb09d8181a68050afbf2a9126e1e9618545
parent53b1c382d5a6fe8dec394a7ff820d77cda02af81
libstdc++: Implement LWG 3523 changes to ranges::iota_view

libstdc++-v3/ChangeLog:

* include/std/ranges (iota_view::_Iterator): Befriend iota_view.
(iota_view::_Sentinel): Likewise.
(iota_view::iota_view): Add three overloads, each taking an
iterator/sentinel pair as per LWG 3523.
* testsuite/std/ranges/iota/iota_view.cc (test06): New test.
libstdc++-v3/include/std/ranges
libstdc++-v3/testsuite/std/ranges/iota/iota_view.cc