[Development] QList

Marc Mutz marc.mutz at kdab.com
Thu Mar 23 21:46:24 CET 2017


On Thursday 23 March 2017 21:11:16 Thiago Macieira wrote:
> On quinta-feira, 23 de março de 2017 12:54:53 PDT Thiago Macieira wrote:
> > Then my QString and QByteArray updates are still mostly valid and can be
> > taken in for Qt 6. The one change I probably want to make is to start
> > using size_t and ssize_t like QStringView does.
> 
> BTW, should we have a public typedef for this?
> 
> QIntegerForSizeof<size_t>::Signed
> 
> is a mouthful.

qssize_t ?

> Note that this is not qptrdiff or qintptr, since in *theory* sizeof(size_t)
> need not be equal to sizeof(void*) (in practice, it is) and we wouldn't
> want "ptr" in the name anyway.

-- 
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, C++ and OpenGL Experts



More information about the Development mailing list