So what does (inout int = 0) do?
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Fri Apr 15 00:42:17 PDT 2016
On Friday, 15 April 2016 at 04:23:29 UTC, Jonathan M Davis wrote:
> IIRC, the problem has to do with ranges of inout elements
> working correctly, which gets really funky, because inout is a
> temporary thing and not a full-on type constructor/qualifier. I
> believe that Kenji is the one that implemented the fix, and I
> think that he explained it in the newsgroup at some point.
> Certainly, there have been a few times that it's come up in
> D.Learn when folks ask what the heck it is, so there should be
> a few posts floating around with an explanation. This is the
> only useful post that I could find in a quick search though:
>
Whatever the problem is, none of this seems like a good solution.
More information about the Digitalmars-d
mailing list