From a155ca8301c6a698c90cda21224e54cb42c8bc41 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Tue, 1 Aug 2023 00:17:40 +0800 Subject: [PATCH] [class.compare.default] Say subobjects of an object instead of a class. --- source/classes.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/classes.tex b/source/classes.tex index 78a504f0a5..3720c020ad 100644 --- a/source/classes.tex +++ b/source/classes.tex @@ -6610,11 +6610,11 @@ \end{note} \pnum -The direct base class subobjects of \tcode{C}, +The direct base class subobjects of an object \tcode{x} of class \tcode{C}, in the order of their declaration in the \grammarterm{base-specifier-list} of \tcode{C}, -followed by the non-static data members of \tcode{C}, +followed by the direct member subobjects of \tcode{x}, in the order of their declaration in the \grammarterm{member-specification} of \tcode{C}, -form a list of subobjects. +form a list of subobjects for \tcode{x}. In that list, any subobject of array type is recursively expanded to the sequence of its elements, in the order of increasing subscript. Let $\tcode{x}_i$ be an lvalue denoting the $i^\text{th}$ element