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.filter.sentinel] Correct typo in constructor Effects #2937

Merged
merged 1 commit into from Jun 25, 2019

Conversation

CaseyCarter
Copy link
Contributor

Resolves #2880.

Note that I'm once again stretching "editorial" to avoid burning LWG time. The existing specification is obviously incorrect - it would result in either an ill-formed program or stack overflow - but the fix is not quite as obviously correct. As always, feel free to call this non-editorial and I'll file an LWG issue instead.

@jensmaurer jensmaurer requested a review from jwakely June 24, 2019 20:38
@jensmaurer
Copy link
Member

@jwakely, are you ok with this change?

@jwakely
Copy link
Member

jwakely commented Jun 25, 2019

I agree it's currently broken, and I think the change represents what was always intended, so this qualifies as editorial for me.

@jensmaurer jensmaurer merged commit 44ea297 into cplusplus:master Jun 25, 2019
@CaseyCarter CaseyCarter deleted the filter_sentinel branch June 25, 2019 13:41
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.

[range.filter.sentinel] filter_view::sentinel's single-parameter constructor seems wrong
3 participants