Getting consistent behavour for class properties

mikey via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Oct 2 07:28:39 PDT 2016


On Sunday, 2 October 2016 at 14:26:46 UTC, mikey wrote:
>     t.val = t.val + 1;
>     t.val += t.val;

Sorry that should have of course read:

     t.val = t.val + 1;
     t.val += 1;


More information about the Digitalmars-d-learn mailing list