CTFE attribute

Walter Bright newshound2 at digitalmars.com
Sat Jan 28 10:39:25 PST 2012


On 1/28/2012 6:50 AM, Manu wrote:
> I'd certainly like to be able to mark these functions CTFE to be sure no runtime
> code will ever be generated for them, and also, what can I do about CTFE
> imports? I don't want that import in my binary...

Being in your object file doesn't mean they make it into the binary. Optlink, 
for example, will remove unreferenced COMDATs.


More information about the Digitalmars-d mailing list