Skip to content

WIP [libc++][ranges] P3052R2: view_interface::at()#205012

Draft
H-G-Hristov wants to merge 1 commit into
llvm:mainfrom
H-G-Hristov:hgh/libcxx/P3052R2-view_interface_at
Draft

WIP [libc++][ranges] P3052R2: view_interface::at()#205012
H-G-Hristov wants to merge 1 commit into
llvm:mainfrom
H-G-Hristov:hgh/libcxx/P3052R2-view_interface_at

Conversation

@H-G-Hristov

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jun 21, 2026

Copy link
Copy Markdown

✅ With the latest revision this PR passed the C/C++ code formatter.

@Zingam

Zingam commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

@frederick-vs-ja IMO this one should be backported as DR but I don't see that this was proposed. WDYT?

Ref:
cplusplus/papers#1721
cplusplus/draft#9126

@H-G-Hristov H-G-Hristov force-pushed the hgh/libcxx/P3052R2-view_interface_at branch from ad56310 to f00334e Compare June 22, 2026 05:40
@H-G-Hristov H-G-Hristov force-pushed the hgh/libcxx/P3052R2-view_interface_at branch from f00334e to 8344219 Compare June 22, 2026 05:42
@frederick-vs-ja

Copy link
Copy Markdown
Contributor

I haven't found any discussion about treating this as DR. Previously, we implemented span::at and mdspan::at as non-DR additions. If we want to DR-ify view_interface::at, IMO we should do the same for span and mdspan.

@Zingam

Zingam commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

I haven't found any discussion about treating this as DR. Previously, we implemented span::at and mdspan::at as non-DR additions. If we want to DR-ify view_interface::at, IMO we should do the same for span and mdspan.

If std::expected.has_error() is treated as DR, this one should be treated too. Anyway I'll park this until we get the C++29 support.

Thank you for clarifying.

@Zingam Zingam added ranges Issues related to `<ranges>` c++26 c++29 and removed c++26 labels Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++29 ranges Issues related to `<ranges>`

Projects

None yet

Development

Successfully merging this pull request may close these issues.

P3052R2: view_interface::at()

3 participants