Is this an rvalue reference problem?
Gary Willoughby via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Dec 27 12:00:28 PST 2015
On Sunday, 27 December 2015 at 18:54:25 UTC, Adam D. Ruppe wrote:
> On Sunday, 27 December 2015 at 16:05:39 UTC, Gary Willoughby
> wrote:
>> [...]
>
> Yes, but more than that, what, exactly, would you expect from
> that? The order of operations with the postfix ++ operator and
> ref would probably lead to confusing results anyway, so better
> to disallow it and force you to be a bit more clear with the
> code.
>
> [...]
Thanks guys, I thought as much.
More information about the Digitalmars-d-learn
mailing list