Are Your C++ Templates Broken? Two-Phase Lookup Explained
ACCU Conference · 0:00 · Watch on YouTube
Key takeaway: C++ templates use *two-phase name lookup*: non-dependent names are resolved when the compiler first sees the template definition, while dependent names are resolved at instantiation. Because of this, inh...