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

[obj.lifetime] Fix preconditions for start_lifetime_as_array #5771

Merged

Conversation

frederick-vs-ja
Copy link
Contributor

"Mandates:" is misused, as "n > 0 is true" can't be checked at compilation-time. And the condition is in "Preconditions:" according to P2590R2.

"n > 0 is true" can't be in "Mandates:", and it's in "Preconditions:" according to P2590R2.
Copy link
Member

@jwakely jwakely left a comment

Choose a reason for hiding this comment

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

Yes, the incoming paper was correct but applied incorrectly.

@tkoeppe tkoeppe merged commit 4762e1b into cplusplus:main Aug 22, 2022
@frederick-vs-ja frederick-vs-ja deleted the start_lifetime_as_array-preconditions branch August 22, 2022 11:20
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