[Qt-interest] Bug with QVector on really large data sets

Ross Driedger ross at earz.ca
Mon Feb 15 15:21:50 CET 2010


On 15-Feb-10, at 4:27 AM, qt-interest-request at trolltech.com wrote:

>
> Message: 1
> Date: Mon, 15 Feb 2010 08:47:07 +0100
> From: Andr? Somers <andre at familiesomers.nl>
> Subject: Re: [Qt-interest] Bug with QVector on really large data sets
> To: <qt-interest at trolltech.com>
> Message-ID: <001501caae13$15e98e80$41bcab80$@nl>
> Content-Type: text/plain;	charset="iso-8859-1"
>
>
>
>> BTW, is there any reason why you are not using std::vector?
>
> Just for learning something: is there any reason to prefer  
> std::vector above
> QVector?

You get the full capabilities of stl and the code is more mature than  
the Qt classes.  As a general personal guideline, I use Qt collections  
with Qt and derived classes and stl with classes outside the library.

Ross Driedger
ross_at_earz.ca




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100215/b29f88eb/attachment.html 


More information about the Qt-interest-old mailing list