Skip to content

Commit 24fb65b

Browse files
committed
[basic.lookup.classref] Replace unnecessary use of 'indented' with 'codeblock'
1 parent 580dbaf commit 24fb65b

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

source/basic.tex

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2158,11 +2158,9 @@
21582158
\pnum
21592159
If the \grammarterm{id-expression} in a class member access is a
21602160
\grammarterm{qualified-id} of the form
2161-
2162-
\begin{indented}
2163-
\tcode{class-name-or-namespace-name::...}
2164-
\end{indented}
2165-
2161+
\begin{codeblock}
2162+
class-name-or-namespace-name::...
2163+
\end{codeblock}
21662164
the \grammarterm{class-name-or-namespace-name} following the \tcode{.} or
21672165
\tcode{->} operator is
21682166
first looked up in the class of the object expression and the name, if found,
@@ -2173,11 +2171,9 @@
21732171

21742172
\pnum
21752173
If the \grammarterm{qualified-id} has the form
2176-
2177-
\begin{indented}
2178-
\tcode{::class-name-or-namespace-name::...}
2179-
\end{indented}
2180-
2174+
\begin{codeblock}
2175+
::class-name-or-namespace-name::...
2176+
\end{codeblock}
21812177
the \grammarterm{class-name-or-namespace-name} is looked up in global scope
21822178
as a \grammarterm{class-name} or \grammarterm{namespace-name}.
21832179

0 commit comments

Comments
 (0)