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

Marc Mutz marc.mutz at kdab.com
Mon May 18 13:46:49 CEST 2015


On Monday 18 May 2015 12:17:32 Koehne Kai wrote:
> Can you elaborate? We're talking about in/out parameters here, where
> raw pointers IMO are still perfectly valid. What do you expect the
> signature  of readLine(QString *line) to be in C++14?

QString readLine(QString &&reuseThisStringsCapacity);

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt Experts



More information about the Development mailing list