[Issue 11946] "need 'this' to access member" when passing field to template parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 23 22:55:17 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11946



--- Comment #20 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-01-24 08:55:12 EET ---
(In reply to comment #19)
> Maybe you're misunderstanding the effect of 'static' attribute.
> As far as I know, it means that:

I think I understand how it works now. But I don't think this is how it SHOULD
work, because it is not intuitive. No other programming language does this, and
no one expects it to act like this. So I think it is a limitation imposed by
implementation detail that needs to be fixed.

> Even if it will become possible in the future, but currently it isn't.
> I have no opinion about non existing feature.

I hope it will be fixed, I think this is an important issue. Maybe Facebook
will place a nice bounty in the next round :)

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list