Title
Clarification of overloading and UDC to reference type
Status
tc1
Section
12.2.2.5 [over.match.copy]
Submitter
Steve Adamczyk

Created on 1998-10-13.00:00:00 last changed 263 months ago

Messages

Date: 1999-10-15.00:00:00

Proposed resolution (10/99):

In 12.2.2.5 [over.match.copy] paragraph 1, change

Conversion functions that return "reference to T" return lvalues of type T and are therefore considered to yield T for this process of selecting candidate functions.
to
Conversion functions that return "reference to X" return lvalues of type X and are therefore considered to yield X for this process of selecting candidate functions.
In 12.2.2.6 [over.match.conv] paragraph 1, change
Conversion functions that return "reference to T" return lvalues of type T and are therefore considered to yield T for this process of selecting candidate functions.
to
Conversion functions that return "reference to cv2 X" return lvalues of type "cv2 X" and are therefore considered to yield X for this process of selecting candidate functions.
Date: 2003-04-25.00:00:00

Sections 12.2.2.5 [over.match.copy] and 12.2.2.6 [over.match.conv] should be clarified regarding the treatment of conversion functions which return reference types.

History
Date User Action Args
2003-04-25 00:00:00adminsetstatus: dr -> tc1
2000-02-23 00:00:00adminsetmessages: + msg301
2000-02-23 00:00:00adminsetstatus: open -> dr
1998-10-13 00:00:00admincreate