Skip to content

Commit 80f2c46

Browse files
opensdhzygoloid
authored andcommitted
[over.match.class.deduct] Fix terminology
An element with a dependent type might not be a subaggregate Add cross-reference
1 parent fc18632 commit 80f2c46

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/overloading.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,8 @@
15491549
\end{itemize}
15501550
\end{itemize}
15511551
In addition, if \tcode{C} is defined
1552-
and its definition satisfies the conditions for an aggregate class
1552+
and its definition satisfies the conditions for
1553+
an aggregate class\iref{dcl.init.aggr}
15531554
with the assumption that any dependent base class has
15541555
no virtual functions and no virtual base classes, and
15551556
the initializer is a non-empty \grammarterm{braced-init-list} or
@@ -1564,7 +1565,7 @@
15641565
For each $x_i$, let $e_i$ be the corresponding element
15651566
of \tcode{C} or of one of its (possibly recursive) subaggregates
15661567
that would be initialized by $x_i$\iref{dcl.init.aggr}
1567-
if brace elision is not considered for any subaggregate
1568+
if brace elision is not considered for any element
15681569
that has a dependent type.
15691570
If there is no such element $e_i$, the program is ill-formed.
15701571
The aggregate deduction candidate is derived as above

0 commit comments

Comments
 (0)