Closed ranaanoop closed 2 months ago
The proposed wording looks very asymmetric. If it makes sense to add a particular definition for function lvalue, why don't we define object lvalue (and object xvalue, object prvalue, etc.) together?
I think we should just say "lvalue of function type" ("expression" is implied) wherever we use "function lvalue", instead of trying to define this rather awkward term.
Full name of submitter: Anoop Rana
Reference (section label): [intro.defs]
Issue description: The standard uses the term "function lvalue" at multiple places but doesn't have a formal definition for the same. Here are 5 occurrences for the same:
Two references in dcl.init One reference in over.ics.ref Two references in over.ics.rank
Suggested resolution:
Add a definition for the same in [intro.defs] saying something like: