Write file at compile time?

Meta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Apr 3 12:06:01 PDT 2017


On Sunday, 2 April 2017 at 19:42:52 UTC, Inquie wrote:
> I would like to write the output of a manifest constant at 
> compile time to a file instead of console using pragma(msg). Is 
> this possible?

D does not allow IO at compile time for security reasons.


More information about the Digitalmars-d-learn mailing list