Make all functions from std.typecons "Proxy" inout

Timon Gehr timon.gehr at gmx.ch
Fri May 11 05:47:07 PDT 2012


On 05/11/2012 08:56 AM, Kenji Hara wrote:
> The spec:
> http://dlang.org/template#TemplateThisParameter
> doesn't talk about typeof(this).
>
> I think current behavior is less useful than I have thought.

What would the current behavior be useful for?

> And, current std.typecons.Proxy doesn't work as expected for non-mutable
> objects...

Until now, I actually thought that template this parameters work the way 
as you expected them to work.


More information about the Digitalmars-d-learn mailing list