Skip to content

Commit 5465744

Browse files
jwakelytkoeppe
authored andcommitted
[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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/utilities.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18582,7 +18582,7 @@
1858218582
\pnum
1858318583
\returns
1858418584
\tcode{true} if and only if
18585-
\tcode{S1} and \tcode{S2} are standard-layout types,
18585+
\tcode{S1} and \tcode{S2} are standard-layout struct\iref{class.prop} types,
1858618586
\tcode{M1} and \tcode{M2} are object types,
1858718587
\tcode{m1} and \tcode{m2} are not null,
1858818588
and \tcode{m1} and \tcode{m2} point to corresponding members of

0 commit comments

Comments
 (0)