Partial classes

bearophile bearophileHUGS at
Sun Jan 29 14:01:53 PST 2012


> Hello everybody.
> Quick question, is there anything like C#'s partial classes in D?

In D there are ways to compose classes, using static methods of interfaces, with "alias this", and even low-level ways like mixin(import("filename.d")), and so on. But currently there are no partial classes in D. Maybe partial classes will be added in future if their usefulness becomes evident :-)


More information about the Digitalmars-d-learn mailing list