Created on 2006-05-23.00:00:00 last changed 196 months ago
[Voted into WP at April, 2007 meeting.]
Proposed resolution (October, 2006):
Change 12.2.4.2.3 [over.ics.user] paragraph 3 as follows:
If the user-defined conversion is specified by atemplate conversion functionspecialization of a conversion function template, the second standard conversion sequence must have exact match rank.
Change 13.7.3 [temp.mem] paragraph 5 as follows:
A specialization of atemplate conversion functionconversion function template is referenced in the same way as a non-template conversion function that converts to the same type.
Change 13.7.3 [temp.mem] paragraph 6 as follows:
A specialization of atemplate conversion functionconversion function template is not found by name lookup. Instead, anytemplate conversion functionsconversion function templates visible in the context of the use are considered.
Change 13.7.3 [temp.mem] paragraph 7 as follows:
Ausing-declarationusing-declaration in a derived class cannot refer to a specialization of atemplate conversion functionconversion function template in a base class.
Change 13.7.3 [temp.mem] paragraph 8 as follows:
Overload resolution (12.2.4.3 [over.ics.rank]) and partial ordering (13.7.7.3 [temp.func.order]) are used to select the best conversion function among multipletemplate conversion functionsspecializations of conversion function templates and/or non-template conversion functions.
Change 13.10.3.4 [temp.deduct.conv] paragraph 1 as follows:
Template argument deduction is done by comparing the return type of thetemplate conversion functionconversion function template (call it P) with the type that is required as the result of the conversion (call it A) as described in 13.10.3.6 [temp.deduct.type].
The wholesale replacement of the phrase “template function” by the resolution of issue 105 seems to have overlooked the similar phrase “template conversion function.” This phrase appears a number of times in 12.2.4.2.3 [over.ics.user] paragraph 3, 13.7.3 [temp.mem] paragraphs 5-8, and 13.10.3 [temp.deduct] paragraph 1. It should be systematically replaced in similar fashion to the resolution of issue 105.
History | |||
---|---|---|---|
Date | User | Action | Args |
2008-10-05 00:00:00 | admin | set | status: wp -> cd1 |
2007-08-05 00:00:00 | admin | set | status: dr -> wp |
2007-05-06 00:00:00 | admin | set | messages: + msg1509 |
2007-05-06 00:00:00 | admin | set | status: ready -> dr |
2006-11-05 00:00:00 | admin | set | messages: + msg1401 |
2006-11-05 00:00:00 | admin | set | status: open -> ready |
2006-05-23 00:00:00 | admin | create |