Skip to content

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
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.

4 participants