The text in 11.8.3 [class.access.base]
paragraph 4 does not seem to handle the following cases:
Proposed Resolution (04/01): The resolution for this issue
is contained in the resolution for issue 9..
class D;
class B {
private:
int i;
friend class D;
};
class C : private B { };
class D : private C {
void f() {
B::i; //1: well-formed?
i; //2: well-formed?
}
};
The member i is not a member of D and cannot be
accessed in the
scope of D . What is the naming class of the member
i on line //1
and line //2 ?