Title
Objectless references to non-static member functions
Status
nad
Section
_N4567_.5.1.1 [expr.prim.general]
Submitter
Aaron Ballman

Created on 2015-06-03.00:00:00 last changed 102 months ago

Messages

Date: 2015-10-15.00:00:00

Rationale (October, 2015):

Without knowing the type of this, overload resolution cannot be performed, and it seems not worth the trouble to allow member functions only in the case where there is no overloading.

Date: 2022-11-20.07:54:16

Bullet 13.3 of _N4567_.5.1.1 [expr.prim.general] permits only non-static data members to appear without an object expression in an unevaluated operand. There does not appear to be a good reason to exclude non-static member functions from this permission.

History
Date User Action Args
2015-11-10 00:00:00adminsetmessages: + msg5978
2015-06-03 00:00:00admincreate