Fixing spurious "statement is not reachable" in template code

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 27 14:55:27 PDT 2015


On 10/27/2015 10:29 PM, tsbockman wrote:
> On Tuesday, 27 October 2015 at 21:14:26 UTC, Timon Gehr wrote:
>> On 10/27/2015 09:18 PM, tsbockman wrote:
>>> I don't think any dead code is being generated,
>>
>> This seems to be a misunderstanding. I mean generated using mixins or
>> template instantiation. Sure, it will usually be removed, but why
>> generate and semantically analyze it in the first place.
>
> Forcing me to ...

This post is attacking a straw man. I'm not suggesting any of this.


More information about the Digitalmars-d mailing list