Once Again, Feature Request: Nested classes in separate scope

downs default_357-line at yahoo.de
Tue Nov 6 02:13:47 PST 2007


Vladimir Panteleev wrote:
> I think this could be done with the announced "alias foo this;" syntax.
> (just declare a Foo in Bar and import its namespace)
> 

Yes, but part of the point of the proposal is to avoid using the has-a
relationship in situations where it's inadequate or flat out wrong (the
Window doesn't own the WindowManager, it's the other way around). Sorry
if I'm misunderstanding an OO concept here.

 --downs



More information about the Digitalmars-d mailing list