Skip to content

Commit ada90e3

Browse files
committed
P1616R1 Using unconstrained template template parameters with constrained templates
1 parent 67db942 commit ada90e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/templates.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,6 +1373,8 @@
13731373
\pnum A \grammarterm{template-argument} matches a template
13741374
\grammarterm{template-parameter} \tcode{P} when
13751375
\tcode{P} is at least as specialized as the \grammarterm{template-argument} \tcode{A}.
1376+
In this comparison, if \tcode{P} is unconstrained,
1377+
the constraints on \tcode{A} are not considered.
13761378
If \tcode{P} contains a template parameter pack, then \tcode{A} also matches \tcode{P}
13771379
if each of \tcode{A}'s template parameters
13781380
matches the corresponding template parameter in the

0 commit comments

Comments
 (0)