How to exclude function from being imported in D language?

bauss jj_1337 at
Tue Mar 8 22:28:27 UTC 2022

On Tuesday, 8 March 2022 at 20:12:40 UTC, BoQsc wrote:
> I think D Language needs and lacks conditional compilation 
> condition and attribute of "exclude". The exclude keyword or 
> code block in the exclude, would be made sure to not be 
> imported by any means. Now it seems all to be only workarounds.

What D just needs is a way to specify the entry point, in which 
it just defaults to the first main function found, but could be 
any function given.

More information about the Digitalmars-d-learn mailing list