CTFE in imported static initializers

Bastiaan Veelo Bastiaan at Veelo.net
Tue May 14 09:25:55 UTC 2019


On Monday, 13 May 2019 at 20:39:57 UTC, Steven Schveighoffer 
wrote:
> Why? I can't even use it at compile time...
>
> pragma(msg, moddata.length);

Is that a good test or "usable at compile time", though? Isn't 
pragma(msg) done at an earlier stage than CTFE? I think that was 
the argument for ctfeWriteln.

(We both know that I'm out of my league here, but anyway :))

Bastiaan.


More information about the Digitalmars-d-learn mailing list