Bug or miss feature in nested class?
BCS
BCS at pathlink.com
Mon Oct 23 09:56:45 PDT 2006
class C
{
class A{}
}
class D : C
{
class B : A{}
}
fails saying A is nested in C, not D
Why should this be a problem? An action that A can perform on a C can be
performed on a D. So havening an A object nested from a D object
shouldn't be a problem. Deriving from A in something derived from C also
shouldn't be a problem either.
Thoughts??
BTW, I actually wanted to do this on a project.
More information about the Digitalmars-d-bugs
mailing list