On Sun, May 17, 2015 at 9:55 PM, Smith Martin
<martin.sm...@theqtcompany.com> wrote:
> How do you get bitten by an out-reference?

As usual, because at call site I didn't realize the argument was
actually being modified. Compare

doSomething(param1, param2, param3);
doSomething(&param1, param2, param3);

which one is likely to be modifying arguments?

-- 
Giuseppe D'Angelo
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to