Reason for -no-stl in qt-copy configure recommendation?

Maksim Orlovich mo002j at mail.rochester.edu
Mon Apr 28 22:15:35 BST 2003


On Mon, 28 Apr 2003, Werner Trobin wrote:

> Suppose you have a QValueVector in your FooGadget class and would like to call 
> some external library function (e.g. to perform a highly optimized assembler 
> FFT of the sequence in your vector), taking a plain vanilla C array. You 
> can't just call the method with your QValueVector, as you don't have any 
> guarantees concerning the layout of the internal data.

Actually, QValueVector *is* guaranteed to be contiguous until Qt4. Just
take a look at the iterator type. And besides, there is always QMemArray,
which allegedly works better for POD types, too.





More information about the kde-core-devel mailing list