Request for Comment assert(__ctfe)

Atila Neves atila.neves at gmail.com
Tue Apr 7 09:17:41 UTC 2020


On Tuesday, 7 April 2020 at 06:55:59 UTC, Walter Bright wrote:
> Sounds ok to me, as long as the assert(__ctfe) is the first 
> statement in the function body.
>
> Though I would check the linker map file to see if the linker 
> didn't already omit functions that were never called.

I think the problem with relying on the linker is that the user 
still pays with longer compile times for codegen that isn't 
needed.


More information about the Digitalmars-d mailing list