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

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

Messages

Date: 1999-10-15.00:00:00

Proposed resolution (10/99):

In 16.3.1.4 [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 16.3.1.5 [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 16.3.1.4 [over.match.copy] and 16.3.1.5 [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