[Development] Is make sense to use QVarLengthArray instead of QByteArray/QVector ?

Denis Shienkov denis.shienkov at gmail.com
Fri Jul 4 10:48:28 CEST 2014

Hi all.

I have plans to replace use of QByteArray, which is used as the container
for work with еру WinAPI functions, for example on QVarLengthArray. But I
am confused by the fact of that in guts of QtCore is still often used the
QByteArray for this purpose.

Upon transition to QVarLengthArray the quantity of typecasts will decrease
(it will bring to reduce a length of lines, by removing of long
"reinterpret_cast<bla-bla>"), i.e. to simplify of code.

Whether there is a sense to transition to QVarLengthArray?

PS: For example, I speak like about it:

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140704/eea96853/attachment.html>

More information about the Development mailing list