You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The precondition for is_aggregate is "remove_all_extents_t<T> shall be a complete type or cv void." This means that is_aggregate_v<Incomplete[2]> is undefined, but an array is always an aggregate, we don't need a complete element type to know that.
Suggestion: T shall be a complete type, an array, or cv void.
The text was updated successfully, but these errors were encountered:
jensmaurer
changed the title
GB 21.3.5.4 [meta.unary. prop] Unnecessary precondition for is_aggregate
GB-090 21.3.5.4 [meta.unary. prop] Unnecessary precondition for is_aggregate
Nov 3, 2022
The precondition for is_aggregate is "
remove_all_extents_t<T>
shall be a complete type orcv void
." This means thatis_aggregate_v<Incomplete[2]>
is undefined, but an array is always an aggregate, we don't need a complete element type to know that.Suggestion: T shall be a complete type, an array, or cv void.
The text was updated successfully, but these errors were encountered: