D seems interesting, but...

Adam D. Ruppe destructionator at gmail.com
Mon Oct 15 05:20:51 PDT 2012


On Monday, 15 October 2012 at 11:20:26 UTC, bearophile wrote:
> This allows to have a main() in each module.

You could just version it:

version(foo_main)
void main() {}


More information about the Digitalmars-d mailing list