Created on 2011-04-14.00:00:00 last changed 130 months ago
[Voted into the WP at the February, 2012 meeting; moved to DR at the October, 2012 meeting.]
Proposed resolution (August, 2011):
Change 13.8 [temp.res] paragraph 8 as follows:
Knowing which names are type names allows the syntax of every templatedefinitionto be checked. No diagnostic shall be issued for a templatedefinitionfor which a valid specialization can be generated. If no valid specialization can be generated for a templatedefinition, and that template is not instantiated, the templatedefinitionis ill-formed, no diagnostic required. If every valid specialization of a variadic template requires an empty template parameter pack, the templatedefinitionis ill-formed, no diagnostic required. If a type used...
According to 13.8 [temp.res] paragraph 8,
Knowing which names are type names allows the syntax of every template definition to be checked. No diagnostic shall be issued for a template definition for which a valid specialization can be generated. If no valid specialization can be generated for a template definition, and that template is not instantiated, the template definition is ill-formed, no diagnostic required. If every valid specialization of a variadic template requires an empty template parameter pack, the template definition is ill-formed, no diagnostic required. If a type used in a non-dependent name...
It seems that these points could and should apply to template declarations that are not definitions, as well.
History | |||
---|---|---|---|
Date | User | Action | Args |
2014-03-03 00:00:00 | admin | set | status: drwp -> cd3 |
2012-11-03 00:00:00 | admin | set | status: dr -> drwp |
2012-09-24 00:00:00 | admin | set | messages: + msg4014 |
2012-02-27 00:00:00 | admin | set | messages: + msg3831 |
2012-02-27 00:00:00 | admin | set | status: ready -> dr |
2011-04-14 00:00:00 | admin | create |