Skip to content

Commit ccf746f

Browse files
hubert-reinterpretcasttkoeppe
authored andcommitted
[class.base.init] Add "direct" for _mem-initializer-id_-named members
A _mem-initializer-id_ cannot be used to initialize a base class data member from a derived class constructor; therefore, we mean _direct_ non-static data member.
1 parent 9770db7 commit ccf746f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/classes.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5524,7 +5524,7 @@
55245524
Unless the
55255525
\grammarterm{mem-initializer-id}
55265526
names the constructor's class,
5527-
a non-static data member of the constructor's class, or
5527+
a direct non-static data member of the constructor's class, or
55285528
a direct or virtual base of that class,
55295529
the
55305530
\grammarterm{mem-initializer}

0 commit comments

Comments
 (0)