File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 19441944
19451945\pnum
19461946\indextext {equivalence!template type}%
1947- Two \grammarterm {template-id}{s} refer to the same
1948- class, function, or variable if
1947+ Two \grammarterm {template-id}{s} are the same if
19491948\begin {itemize }
19501949\item
19511950their \grammarterm {template-name}{s},
19661965their corresponding template \grammarterm {template-argument}{s}
19671966refer to the same template.
19681967\end {itemize }
1968+ Two \grammarterm {template-id}{s} that are the same
1969+ refer to the same class, function, or variable.
19691970
19701971\pnum
19711972Two values are \defn {template-argument-equivalent} if
36333634except that the tokens used to name types and declarations may differ
36343635as long as they name the same entities, and
36353636the tokens used to form concept-ids may differ
3636- as long as the two \grammarterm {template-id}{s}
3637- would be considered to name the same type if,
3638- instead of a concept, a class template were named.
3637+ as long as the two \grammarterm {template-id}{s} are the same\iref {temp.type }.
36393638\begin {note }
36403639For instance, \tcode {A<42>} and \tcode {A<40+2>} name the same type.
36413640\end {note }
You can’t perform that action at this time.
0 commit comments