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

Giuseppe D'Angelo dangelog at gmail.com
Sun May 17 15:19:49 CEST 2015

On Sun, May 17, 2015 at 2:30 PM, Andre Somers <andre at familiesomers.nl> wrote:
> In the spirit of option b), would it be an option to have the method
> take a QString& instead of a QString*? That would resolve the ambiguity.

It would solve, but Qt APIs use pointers instead of references for
out-arguments (and that's a very good code policy).

Giuseppe D'Angelo

More information about the Development mailing list