Skip to content

Commit e9cf9ca

Browse files
[class.compare.default] Say subobjects of an object instead of a class.
1 parent 2144179 commit e9cf9ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/classes.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6677,11 +6677,11 @@
66776677
\end{note}
66786678

66796679
\pnum
6680-
The direct base class subobjects of \tcode{C},
6680+
The direct base class subobjects of an object \tcode{x} of class \tcode{C},
66816681
in the order of their declaration in the \grammarterm{base-specifier-list} of \tcode{C},
6682-
followed by the non-static data members of \tcode{C},
6682+
followed by the direct member subobjects of \tcode{x},
66836683
in the order of their declaration in the \grammarterm{member-specification} of \tcode{C},
6684-
form a list of subobjects.
6684+
form a list of subobjects for \tcode{x}.
66856685
In that list, any subobject of array type is recursively expanded
66866686
to the sequence of its elements, in the order of increasing subscript.
66876687
Let $\tcode{x}_i$ be an lvalue denoting the $i^\text{th}$ element

0 commit comments

Comments
 (0)