File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 40214021An abbreviated function template is equivalent to
40224022a function template\iref {temp.fct }
40234023whose \grammarterm {template-parameter-list} includes
4024- one invented \grammarterm {type -parameter}
4024+ one invented type \grammarterm {template -parameter}
40254025for each generic parameter type placeholder
40264026of the function declaration, in order of appearance.
40274027For a \grammarterm {placeholder-type-specifier} of the form \keyword {auto},
40314031\grammarterm {type-constraint} \keyword {auto},
40324032the invented parameter is a \grammarterm {type-parameter} with
40334033that \grammarterm {type-constraint}.
4034- The invented \grammarterm {type -parameter} is
4034+ The invented type \grammarterm {template -parameter} is
40354035a template parameter pack
40364036if the corresponding \grammarterm {parameter-declaration}
40374037declares a function parameter pack.
40404040The adjusted function parameters of an abbreviated function template
40414041are derived from the \grammarterm {parameter-declaration-clause} by
40424042replacing each occurrence of a placeholder with
4043- the name of the corresponding invented \grammarterm {type -parameter}.
4043+ the name of the corresponding invented \grammarterm {template -parameter}.
40444044\begin {example }
40454045\begin {codeblock }
40464046template<typename T> concept C1 = /* ... */;
You can’t perform that action at this time.
0 commit comments