Compile-Time Only Function

Moinak Bhattacharyya via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 23 03:46:11 PDT 2017


Is there an annotation that declares a function compile-time 
only? I'm attempting to use a mixin string generating function 
that uses standard druntime imports, but I'm working in a 
no-stdlib environment. I never need to use this function at 
runtime (as is the case, I imagine, with a great many of mixin 
string generating functions) so is there a way I can omit it?


More information about the Digitalmars-d mailing list