Excluding symbols

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 20 13:04:02 PDT 2015


Am 20.04.2015 um 15:22 schrieb Etienne:
> I've been using a lot of CTFE in my libraries and this has had the side
> effect of increasing my link time beyond 13 seconds. There's a pretty
> big chunk of those symbols being exported that are used only for
> evaluating mixins.
>
> Would there be a way to specify something in the lines of `extern
> (none):` or `intern:`?

Any reason why "private" couldn't be used for this? If a private 
function is only used for CTFE, there is no need to generate code at all.


More information about the Digitalmars-d mailing list