Write file at compile time?
Inquie via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Apr 3 12:25:35 PDT 2017
On Monday, 3 April 2017 at 19:06:01 UTC, Meta wrote:
> 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.
what if I don't care about security reasons? I'm only needing it
for developmental purposes.
More information about the Digitalmars-d-learn
mailing list