diff options
author | Patrick Palka <ppalka@redhat.com> | 2024-10-22 17:01:59 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2024-10-22 17:01:59 -0400 |
commit | f191c8301545658543773ba3d0e6f3f0927529e0 (patch) | |
tree | add8e16c85cb94160f9969ba2e2a284395850983 /gcc | |
parent | a6db5908a55adbef0a0dc1eb2a22743064fe17b8 (diff) | |
download | gcc-f191c8301545658543773ba3d0e6f3f0927529e0.zip gcc-f191c8301545658543773ba3d0e6f3f0927529e0.tar.gz gcc-f191c8301545658543773ba3d0e6f3f0927529e0.tar.bz2 |
libstdc++: Implement LWG 4166 changes to concat_view::end()
This patch proactively implements the proposed resolution for this LWG
issue, which seems straightforward and slated to get approved as-is.
(No _GLIBCXX_RESOLVE_LIB_DEFECTS code comment is added since concat_view
is C++26, so this isn't a defect against a published standard.)
libstdc++-v3/ChangeLog:
* include/std/ranges (concat_view::begin): Add space after
'requires' starting a requires-clause.
(concat_view::end): Likewise. Refine condition for returning an
iterator rather than default_sentinel as per LWG 4166.
* testsuite/std/ranges/concat/1.cc (test03): Verify LWG 4166
example.
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions