|
296 | 296 | and template |
297 | 297 | \grammarterm{template-argument}{s} |
298 | 298 | are treated as types for descriptive purposes, the terms |
299 | | -\term{constant parameter} |
| 299 | +\term{constant template parameter} |
300 | 300 | and |
301 | | -\term{constant argument} |
| 301 | +\term{constant template argument} |
302 | 302 | are used to refer to constant, non-template parameters and arguments. |
303 | 303 | \end{footnote} |
304 | 304 | \grammarterm{parameter-declaration}. |
|
3453 | 3453 | \end{example} |
3454 | 3454 |
|
3455 | 3455 | \pnum |
3456 | | -A constant argument is non-specialized if it is the name of a constant |
3457 | | -parameter. |
| 3456 | +A constant template argument is non-specialized if it is the name of a constant |
| 3457 | +template parameter. |
3458 | 3458 | All other constant arguments are specialized. |
3459 | 3459 |
|
3460 | 3460 | \pnum |
|
3463 | 3463 |
|
3464 | 3464 | \begin{itemize} |
3465 | 3465 | \item |
3466 | | -The type of a template parameter corresponding to a specialized constant argument |
3467 | | -shall not be dependent on a parameter of the partial specialization. |
| 3466 | +The type of a template parameter corresponding to a specialized constant template |
| 3467 | +argument shall not be dependent on a parameter of the partial specialization. |
3468 | 3468 | \begin{example} |
3469 | 3469 | \begin{codeblock} |
3470 | 3470 | template <class T, T t> struct C {}; |
|
8325 | 8325 | is compared with an actual type (call it |
8326 | 8326 | \tcode{A}), |
8327 | 8327 | and an attempt is made to find template argument values (a type for a type |
8328 | | -parameter, a value for a constant parameter, or a template for a |
| 8328 | +parameter, a value for a constant template parameter, or a template for a |
8329 | 8329 | template parameter) that will make |
8330 | 8330 | \tcode{P}, |
8331 | 8331 | after substitution of the deduced values (call it the deduced |
|
8580 | 8580 | \tcode{T}, |
8581 | 8581 | a template template argument |
8582 | 8582 | \tcode{TT}, |
8583 | | -or a template constant argument |
| 8583 | +or a constant template argument |
8584 | 8584 | \tcode{i} |
8585 | 8585 | can be deduced if |
8586 | 8586 | \tcode{P} |
|
0 commit comments