Read file on compiler time.

Remo via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 29 13:56:11 PDT 2014


On Thursday, 29 May 2014 at 20:44:09 UTC, bearophile wrote:
> Remo:
>
>> is it also possible to save/write string at compile time?
>
> There is pragma(msg, "...") but it's a little crappy. There are 
> plans and a pull request for a good _ctWrite, but it's stalled 
> for reasons unknown to me.
>
> Bye,
> bearophile

Thanks!

Yes I know already about pragma(msg, "...") and use it all the 
time to debug.

Something like _ctWrite would be great even if the name is not 
that great.


More information about the Digitalmars-d-learn mailing list