“Unused” ellipsis and default arguments in partial ordering
Section [temp.func.order]
James Widman

Created on 2011-01-18.00:00:00 last changed 96 months ago


Date: 2011-03-15.00:00:00

Proposed resolution (March, 2011):

This issue is resolved by the resolution of issue 692 in document N3281.

Date: 2011-01-18.00:00:00

The specification for how to handle default arguments and ellipsis in partial ordering of function templates is confusing. [temp.func.order] paragraph 5 currently reads,

The presence of unused ellipsis and default arguments has no effect on the partial ordering of function templates.

It is not clear what “unused” means in this context. According to the original issue resolution that resulted in this wording (N1053, item 6.55), the intent was that “When partial ordering of function templates containing a different number of parameters is done, only the common parameters are considered.” Presumably this would include parameters with default arguments if each function had such parameters in corresponding positions.

The wording needs to be revised to make this intent clear.

Date User Action Args
2014-03-03 00:00:00adminsetstatus: fdis -> c++11
2011-04-10 00:00:00adminsetmessages: + msg3388
2011-04-10 00:00:00adminsetstatus: open -> fdis
2011-01-18 00:00:00admincreate