TypeInfo in the library
Dicebot
public at dicebot.lv
Mon Feb 17 07:48:00 PST 2014
On Monday, 17 February 2014 at 14:51:20 UTC, Kenji Hara wrote:
> If a function is only used for CTFE, compiler can elide its
> codegen. It's
> in the scope of optimization.
It can't know for sure it without some sort of WPO / LTO - and
those won't happen any time soon. I propose a simple workaround
that can be done right now (it can be optional compiler-specific
addition)
More information about the Digitalmars-d
mailing list