Skip to content

[2026-06 LWG Motion 4] P3052R2 (view_interface::at())#9126

Open
eisenwave wants to merge 2 commits into
cplusplus:mainfrom
eisenwave:motions-2026-06-lwg-4
Open

[2026-06 LWG Motion 4] P3052R2 (view_interface::at())#9126
eisenwave wants to merge 2 commits into
cplusplus:mainfrom
eisenwave:motions-2026-06-lwg-4

Conversation

@eisenwave

Copy link
Copy Markdown
Member

Fixes #9091
Also fixes cplusplus/papers#1721

@eisenwave eisenwave added this to the post-2026-06 milestone Jun 14, 2026
@eisenwave eisenwave changed the title Motions 2026 06 lwg 4 [2026-06 LWG Motion 4] P3052R2 (view_interface::at()) Jun 14, 2026
Comment thread source/ranges.tex
template<class D>
requires is_class_v<D> && @\libconcept{same_as}@<D, remove_cv_t<D>>
class view_interface;
class view_interface; // partially freestanding

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, the paper shows "freestanding" as already present, but it isn't.

Ah the // freestanding comment was removed by LWG4189. So this edit is the correct way to resolve the merge conflict.

Comment thread source/ranges.tex
\pnum
\throws
\tcode{out_of_range} if \tcode{n < 0} is \tcode{true} or
\tcode{n >= ranges::distance(\exposid{derived}())} is \tcode{true}.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct additions of "is true" which was missing from the incoming paper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[2026-06 LWG Motion 4] P3052R2 (view_interface::at()) P3052 R2 view_interface::at()

2 participants