Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CWG2825 Range-based for statement using a braced-init-list #1694

Closed
jensmaurer opened this issue Nov 9, 2023 · 1 comment · Fixed by cplusplus/draft#6906
Closed

CWG2825 Range-based for statement using a braced-init-list #1694

jensmaurer opened this issue Nov 9, 2023 · 1 comment · Fixed by cplusplus/draft#6906
Labels
CWG Core
Projects

Comments

@jensmaurer
Copy link
Member

In a range-based for, std::initalizer should use its member functions, not the free functions affected by argument-dependent lookup.

See CWG2825 for details.

@jensmaurer jensmaurer added the EWG Evolution label Nov 9, 2023
@erichkeane
Copy link
Collaborator

CWG2825 "Range-based for statement using a braced-init-list" accept the resolution as proposed, forward to CWG for C++26, apply as a DR.

SF F N A SA
5 6 2 0 0

Result: Consensus

@erichkeane erichkeane added CWG Core and removed EWG Evolution labels Nov 10, 2023
@jensmaurer jensmaurer added this to Ready for review in CWG Nov 10, 2023
@jensmaurer jensmaurer moved this from Ready for review to Approved for plenary vote in CWG Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CWG Core
Projects
CWG
Approved for plenary vote
Development

Successfully merging a pull request may close this issue.

2 participants