Name lookup

Name lookup is the procedure by which a name, when encountered in a program, is associated with the declaration that introduced it.

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
CWG 2063C++98“struct hack” did not apply in class scope (breaks C compatibility)applied
CWG 2218C++98lookup for non-function (template) names could not associatemultiple declarations, even if they declare the same entityallowed

# See also