Namespaces
Variants
Actions

Talk:cpp/language/lookup

From cppreference.com

[edit] Class member access lookup

We have qualified name lookup and unqualified name lookup documented nicely in cppreference. But what seems to be missing is class member access lookup: In "c.foo" or "c.A::foo", the lookup of "A" and "foo" undergo lookup that is neither covered by qualified nor unqualified lookup, but uses concepts of both and is documented in an entire section of its own in basic concepts.

Class member access lookup makes use of both qualifed and unqualified lookup, and of sectiopn 10 (clause 13 in C++17) [class.member.lookup]. The latter is used by both qualified class lookup and class member access lookup. 79.218.79.214 01:46, 9 June 2017 (PDT)