[Development] QTextStream::readLine(0) is an ambiguous overload in 5.5

Christian Kandeler christian.kandeler at theqtcompany.com
Mon May 18 11:10:02 CEST 2015


On 05/17/2015 09:57 PM, Giuseppe D'Angelo wrote:
> On Sun, May 17, 2015 at 9:55 PM, Smith Martin
> <Martin.Smith at 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?

Both are equally likely to, unless you are a C programmer.


Christian




More information about the Development mailing list