[Interest] Qt container size()

Felix morack felixover at gmail.com
Thu Jan 29 14:32:13 CET 2015


Hi,


Qt containers use 'int' to refer to their size thus limiting their size to
INT_MAX.

Is there any reason for this? Why dont they use size_t like the STL and the
rest of the world?

It's 2015, people will increasingly bump into this limitation - i just did.
I very much prefer QTL over STL for easier Qt integration, superior API and
implicit sharing. But this is a bit of a bummer.


Any plans to fix this situation for Qt6?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150129/302592f6/attachment.html>


More information about the Interest mailing list