Warn about do nothing expressions?

MattCoder somekindofmonster at email.com.br
Fri Mar 28 12:57:12 PDT 2014


On Friday, 28 March 2014 at 19:35:22 UTC, Frustrated wrote:
> which means, i = is the previous value of j(before increment).
> This should hold true when j is an alias for i.

In this case: i = i++;  Means:

"i" is incremented by one, but the value assigned in "i" is the
previous one. That's it.

For me there's nothing wrong here.

Matheus.



More information about the Digitalmars-d mailing list