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

[tuple.helper] paragraph one not universally true #6777

Merged
merged 1 commit into from Jan 21, 2024

Conversation

Dani-Hub
Copy link
Member

[tuple.helper] p1 defines a general requirement that all specializations of tuple_size shall meet the Cpp17UnaryTypeTrait requirements but p4 actually defines a special situation where this requirement is not met ("Otherwise, it has no member value"). We have the same seemingly contradiction in [depr.tuple] p2. For clarity, we should point out that this provision is not universal.

[tuple.helper] p1 defines a general requirement that all specializations of `tuple_size` shall meet the *Cpp17UnaryTypeTrait* requirements
but p4 actually defines a special situation where this requirement is not met ("Otherwise, it has no member value").
We have the same seemingly contradiction in [depr.tuple] p2. For clarity, we should point out that this provision is not universal.
@jensmaurer jensmaurer merged commit 8410aac into cplusplus:main Jan 21, 2024
2 checks passed
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

4 participants