On Friday 30 March 2012 12:23:59 Thiago Macieira wrote:
 
> Use of QVarLengthArray should *only* be done with primitive types, the fixes
> applied to it during Qt 4.x lifetime notwithstanding. So the user must know
> that before he uses that class. If he's not sure, use QVector.

That is wrong.  QVarLenghtArray can be use with every types.

> Also, QVarLengthArray should zero-initialise, but it doesn't.

It is documented not to.

But yes, it probably should.  (we can add a Qt::Uninitialized overload if we 
need it)


_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to