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() {}
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() {}