You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
an id-expression that names one or more non-static class members and does not form a pointer to member ([expr.unary.op]) potentially references *this.
[Note 3: This occurs even if overload resolution selects a static member function for the id-expression. — end note]
The issue is that the normative part (plural «more non-static class members») and the Note are not compatible with [basic.def.odr], which says that
A function is named by an expression or conversion as follows:
— A function is named by an expression or conversion if it is the selected member of an overload set
P.S. Why the first bullet in [expr.prim.lambda.capture]/7 uses semicolon? I think it should be just split into two bullets.