[Qt5-feedback] Real 64 Bit support ?

Sean Harmer sh at theharmers.co.uk
Thu May 12 15:58:26 CEST 2011


On Thursday 12 May 2011 14:31:42 Andre Somers wrote:
> But I _can_ see that there may be cases where you'd like to have more
> space. Dare I suggest that perhaps the Qt container classes should be
> templated with respect to their index type? Default would still be
> Q_INT32, but you could pass in Q_INT64 if needed?
> 
> QList<MyType> myNormalList;
> QList<MyType, Q_INT64> myHugeList;
> 
> or something like that?

I was also thinking about policy template classes for things like memory pre-
allocation, storage policy etc. With some helpful typedefs QList and QVector 
could likely be merged into the same template and deal with different sized 
index types etc.

Sean

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Qt5-feedback mailing list