Reply to llee,

Is it possible to inherit from a nested class from outside of the
enclosing class? For example:

class A
{
class B { int x; }
}
class C : B
{
int get () { return x; }
}

no, sorry

that wouldn't work well anyway as the binding to A might get tricky

OTOH this would be really nice.

class A
{
 class B { int x; }
}

class C : A
{
 class D : B
 {
int get () { return x; } }
}


Reply via email to