How to let D's one module contains lots of classes.
Joakim via Digitalmars-d
digitalmars-d at puremagic.com
Sun Nov 9 02:43:29 PST 2014
On Sunday, 9 November 2014 at 10:25:36 UTC, AlanThinker wrote:
> On Sunday, 9 November 2014 at 10:02:41 UTC, bearophile wrote:
>> AlanThinker:
>>
>>> If there all classes in one file, the file will be to big.
>>
>> The file will also probably contain several free functions,
>> and not just classes.
>>
>> Bye,
>> bearophile
>
> Is it possible to let one module contains lots of classes in
> different files, and free functions can live in one or several
> files.
Rikki gave you an example above, using packages.
More information about the Digitalmars-d
mailing list