File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1325
1325
a type to be deduced\iref {dcl.spec.auto }.
1326
1326
\indextext {deduction!class template arguments}%
1327
1327
A \grammarterm {type-specifier} of the form
1328
- \opt {\tcode {typename}} \opt {\grammarterm {nested-name-specifier}} \grammarterm {template-name}
1328
+ \opt {\keyword {typename}} \opt {\grammarterm {nested-name-specifier}} \grammarterm {template-name}
1329
1329
is a placeholder for
1330
1330
a deduced class type\iref {dcl.type.class.deduct }.
1331
1331
The \grammarterm {nested-name-specifier}, if any, shall be non-dependent and
Original file line number Diff line number Diff line change 260
260
There is no semantic difference between
261
261
\tcode {class}
262
262
and
263
- \tcode {typename}
263
+ \keyword {typename}
264
264
in a
265
265
\grammarterm {type-parameter-key}.
266
- \tcode {typename}
266
+ \keyword {typename}
267
267
followed by an
268
268
\grammarterm {unqualified-id}
269
269
names a template type parameter.
270
- \tcode {typename}
270
+ \keyword {typename}
271
271
followed by a
272
272
\grammarterm {qualified-id}
273
273
denotes the type in a non-type
797
797
\end {note }
798
798
\begin {note }
799
799
As is the case with the
800
- \tcode {typename}
800
+ \keyword {typename}
801
801
prefix, the
802
802
\keyword {template}
803
803
prefix is allowed
4294
4294
A \grammarterm {typename-specifier}
4295
4295
denotes the type or class template
4296
4296
denoted by the \grammarterm {simple-type-specifier}\iref {dcl.type.simple }
4297
- formed by omitting the keyword \tcode {typename}.
4297
+ formed by omitting the keyword \keyword {typename}.
4298
4298
\begin {note }
4299
4299
The usual qualified name lookup\iref {basic.lookup.qual } applies
4300
- even in the presence of \tcode {typename}.
4300
+ even in the presence of \keyword {typename}.
4301
4301
\end {note }
4302
4302
\begin {example }
4303
4303
\begin {codeblock }
You can’t perform that action at this time.
0 commit comments