function ref param vs pointer param

ref2401 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 24 06:39:33 PDT 2015


processPointer(&ms);
I think doing this way is more descriptive.
Now all readers know that ms might be changed inside the function.


More information about the Digitalmars-d-learn mailing list