This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 116a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2024-12-19
[Voted into WP at April, 2007 meeting.]
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.
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].