Skip to content

Commit b7964a9

Browse files
timsong-cppzygoloid
authored andcommitted
[basic.scope.pdecl], [class] Fix misuses of \grammarterm
1 parent 4cdb5b8 commit b7964a9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@
714714

715715
\pnum
716716
The point of declaration for an
717-
\grammarterm{injected-class-name} (Clause~\ref{class}) is immediately following
717+
injected-class-name (Clause~\ref{class}) is immediately following
718718
the opening brace of the class definition.
719719

720720
\pnum

source/classes.tex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@
6464
A \grammarterm{class-name} is inserted into the scope in which it is
6565
declared immediately after the \grammarterm{class-name} is seen. The
6666
\grammarterm{class-name} is also inserted into the scope of the class
67-
itself; this is known as the \grammarterm{injected-class-name}.
68-
\indextext{\idxgram{injected-class-name}}%
67+
itself; this is known as the \defn{injected-class-name}.
6968
For purposes of access checking, the injected-class-name is treated as
7069
if it were a public member name.
7170
\indextext{definition!class}%

0 commit comments

Comments
 (0)