Passing a pointer to a type that is privately inherited in some base class
This happens due to injected-class-name, unqualified name lookup rules and the fact the name lookup is completed before check for accessibility. injected-class-name is a mechanism that makes class name available inside that class definition. Now, the unqualified name lookup rules within a class definition state that first the scope of the class is searched, then … Read more