[Development] Question about QCoreApplicationData::*_libpaths
Marc Mutz
marc.mutz at kdab.com
Tue Jan 5 15:37:51 CET 2016
On Tuesday 05 January 2016 12:56:55 Ulf Hermann wrote:
> avoid paying the price of constructing a QStringList if they are unused.
That's what I was wondering about: constructing a QStringList is just a copy
of a pointer, and while not totally free, it is next to nothing compared to
the additional heap allocation of a new'ed QStringList...
(we need std::optional :)
Thanks,
Marc
--
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