Nested class defined in another file

bearophile bearophileHUGS at lycos.com
Mon Jun 3 15:07:14 PDT 2013


Bruno Deligny:

> I want to separate nested classes in multiple files to increase 
> readability but i need to keep the access to parent members.
> Is it possible?

This is a solution, but it's not nice:

mixin(import("filename1"));
mixin(import("filename2"));
...

Why do you need so much/so many nested classes?

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list