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

[range.elements.overview] Correct example #4616

Merged
merged 1 commit into from May 30, 2021

Conversation

timsong-cpp
Copy link
Contributor

We need at least one element in the initializer list to actually have a type in order for deduction to work.

Examples 2 and 3 are also broken for other reasons, but those will be addressed via an LWG issue.

@tkoeppe tkoeppe merged commit d6d36b4 into cplusplus:master May 30, 2021
@timsong-cpp timsong-cpp deleted the patch-8 branch June 1, 2021 22:28
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.

None yet

3 participants