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
The definition of "name lookup" is given in [basic.pre]/8:
Some names denote types or templates. In general, whenever a name is encountered it is necessary to determine whether that name denotes one of these entities before continuing to parse the program that contains it. The process that determines this is called name lookup ([basic.lookup]).
This is one purpose of name lookup, not the only one.
I suggest to convert this paragraph to a note and edit it as shown:
[Note: Some names denote types or templates. In general, whenever a name is encountered it is necessary to look it up ([basic.lookup]) to determine whether that name denotes one of these entities before continuing to parse the program that contains it. The process that determines this is called name lookup ([basic.lookup]).—end note]
Then, in [basic.lookup.general], move the second sentence to the beginning and make it the definition.
Name lookup associates the use of a name with a set of declarations ([basic.def]) of that name. The name lookup rules apply uniformly to all names (including typedef-names ([dcl.typedef]), namespace-names ([basic.namespace]), and class-names ([class.name])) wherever the grammar allows such names in the context discussed by a particular rule. Name lookup associates the use of a name with a set of declarations ([basic.def]) of that name.
The text was updated successfully, but these errors were encountered:
The definition of "name lookup" is given in [basic.pre]/8:
This is one purpose of name lookup, not the only one.
I suggest to convert this paragraph to a note and edit it as shown:
Then, in [basic.lookup.general], move the second sentence to the beginning and make it the definition.
The text was updated successfully, but these errors were encountered: