Uncalled functions in hello world

Stefan Koch uplink.coder at googlemail.com
Wed Apr 8 14:13:54 UTC 2020


On Wednesday, 8 April 2020 at 14:10:48 UTC, Stefan Koch wrote:
> On Wednesday, 8 April 2020 at 14:08:23 UTC, Basile B. wrote:
>>
>>
>> Are you sure that this is not also caused by bad speculative 
>> template instantiation ?
>> In case I'd use the wrong wording, I mean "some function 
>> templates that are wrongly determined to be emitted ".
>
> That might very well be the cause.
> Most of those would however benefit from being annotated 
> ctfe-only.

Having the meta information about a function template,
that it is not supposed to be emitted of course will also help,
when debugging the algorithm that determines template emission.


More information about the Digitalmars-d mailing list