Repository navigation
Commit 5465744
[meta.member] Clarify is_corresponding_member semantics
The definition of 'common initial sequence' in [class.mem] only applies
to standard-layout struct types, which excludes unions. There is no
reason to define is_corresponding_member in terms of standard-layout
types (which includes unions and scalars and arrays of such types) when
the common initial sequence is only meaningful for standard-layout
structs.1 parent 711aa64 commit 5465744
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18582 | 18582 | | |
18583 | 18583 | | |
18584 | 18584 | | |
18585 | | - | |
| 18585 | + | |
18586 | 18586 | | |
18587 | 18587 | | |
18588 | 18588 | | |
| |||
0 commit comments