opIndexUnary post in-/decrement how to ?

wjoe invalid at example.com
Wed Jul 14 15:08:56 UTC 2021


On Wednesday, 14 July 2021 at 14:50:01 UTC, Mike Parker wrote:
> On Wednesday, 14 July 2021 at 12:35:07 UTC, wjoe wrote:
>> [...]
>
> It's how the contract of post-inc/dec work---pre-inc/dec return 
> the modified value, post-inc/dec return the original value.
>
> [...]

That makes a lot of sense now, thank you!


More information about the Digitalmars-d-learn mailing list