Inout unclearness

Max Klimov via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 21 23:14:03 PDT 2015


On Tuesday, 21 July 2015 at 08:30:19 UTC, Kagamin wrote:
> So you have 4 different codes, which will you pick as the 
> result?

I tried to explain my vision above. I want a compiler to work 
with inout after template instantiations and so on. In this case 
I hope generated code will be the same. I want to avoid the 
restrictions for casting and keeping inout as a member outside 
inout function.

- Max


More information about the Digitalmars-d mailing list