Created on 2006-11-03.00:00:00 last changed 197 months ago
[Voted into WP at April, 2007 meeting as part of paper N2258.]
Proposed resolution (April, 2007):
The change to 13.6 [temp.type] paragraph 1 shown in document J16/07-0118 = WG21 N2258, in which the syntactic non-terminal template-argument is changed to the English term “template argument” is sufficient to remove the confusion about whether the value before or after conversion is used in matching template-ids.
One of the requirements for two template-ids to refer to the same class or function (13.6 [temp.type] paragraph 1) is that
If we have some template of the form
template <unsigned char c> struct A;
does this imply that A<'\001'> and A<257> (for an eight-bit char) refer to different specializations?
Jens Maurer: Looks like it should say something like, “their corresponding converted non-type template arguments of integral or enumeration type have identical values.”
History | |||
---|---|---|---|
Date | User | Action | Args |
2008-10-05 00:00:00 | admin | set | status: wp -> cd1 |
2008-08-25 00:00:00 | admin | set | messages: + msg1760 |
2008-08-25 00:00:00 | admin | set | status: review -> wp |
2007-05-06 00:00:00 | admin | set | messages: + msg1483 |
2007-05-06 00:00:00 | admin | set | status: open -> review |
2006-11-03 00:00:00 | admin | create |