Another purity question

Timon Gehr timon.gehr at gmx.ch
Tue Jan 14 12:46:52 PST 2014


On 01/14/2014 09:41 PM, David Nadlinger wrote:
> On Tuesday, 14 January 2014 at 20:36:43 UTC, Timon Gehr wrote:
>> Yes, it should.
>>
>> https://d.puremagic.com/issues/show_bug.cgi?id=9148
>
> And, of course, you are right. ;) I missed the analogy to member
> functions w.r.t. the implicit context parameter. Shame on me.
>
> David

Well, if it wasn't easy to fall into this trap (and this is mostly due 
to terminology), DMD would actually behave correctly. :o)


More information about the Digitalmars-d-learn mailing list