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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 3 22:45:56 PST 2014


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



--- Comment #37 from Kenji Hara <k.hara.pg at gmail.com> 2014-03-03 22:45:48 PST ---
(In reply to comment #36)
> (In reply to comment #35)
> So do you think that if we solve the lambda mangling problem, it would be
> possible to infer static-ness of alias parameters, thus avoiding the need of
> "static alias"?

My opinion is that would be impossible to infer static-ness in generic case. We
can avoid the issue about lambdas by adding a hack for the mangling scheme, but
the hack won't work for non-lambda functions.

-- 
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