Skip to content

Commit afa8c50

Browse files
cpplearnerzygoloid
authored andcommitted
[basic.scope.class,basic.lookup.unqual] Use the term "default member initializer" (#1892)
1 parent 08c9d61 commit afa8c50

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

source/basic.tex

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@
977977
only of the declarative region following the name's point of
978978
declaration, but also of all function bodies, default arguments,
979979
\grammarterm{noexcept-specifier}{s}, and
980-
\grammarterm{brace-or-equal-initializer}{s} of non-static data members
980+
default member initializers\iref{class.mem}
981981
in that class (including such
982982
things in nested classes).
983983

@@ -1319,7 +1319,7 @@
13191319
\pnum
13201320
A name used in the definition of a class \tcode{X} outside of a member
13211321
function body, default argument, \grammarterm{noexcept-specifier},
1322-
\grammarterm{brace-or-equal-initializer} of a non-static data member,
1322+
default member initializer\iref{class.mem},
13231323
or nested class definition\footnote{This refers to unqualified names
13241324
following the class name; such a name may be used in the
13251325
\grammarterm{base-clause} or may be used in the class definition.}
@@ -1384,9 +1384,8 @@
13841384

13851385
\pnum
13861386
For the members of a class \tcode{X}, a name used in a member function
1387-
body, in a default argument, in a \grammarterm{noexcept-specifier}, in the
1388-
\grammarterm{brace-or-equal-initializer} of a non-static data
1389-
member\iref{class.mem}, or in the definition of a class member
1387+
body, in a default argument, in a \grammarterm{noexcept-specifier}, in a
1388+
default member initializer\iref{class.mem}, or in the definition of a class member
13901389
outside of the definition of \tcode{X}, following the
13911390
member's
13921391
\grammarterm{declarator-id}\footnote{That is, an unqualified name that occurs,

0 commit comments

Comments
 (0)