Lesley's Digital Garden

Home

❯

Notes

❯

C++ Name Lookup

C++ Name Lookup

Mar 14, 2024

  • computing/PL/semantics
  • computing/cpp/name_lookup

When a C++ function get called, it go through several phases in order:

  1. Name lookup
  2. Template Argument Deduction
  3. Overload Resolution
  4. Access Control
  5. Virtual Function

There are three major categories of name lookups:

  • Unqualified name lookups
  • Qualified name lookups
  • Argument-dependent lookup (ADL)

Graph View

Backlinks

  • C++

Created with Quartz v4.5.2 © 2026. All notes are written in Obsidian.

  • GitHub Repository
  • Mastodon