On Sun, Oct 16, 2011 at 04:30:39PM +0200, ext Thiago Macieira wrote:
> When I talked to João this week, he expressed the desire to unify the
> header code of QVector, QByteArray and QString.
> 
whether deriving from qvector makes sense i don't know, but i'm very
much in favor of implementing QString and QByteArray as
QStringBase<QChar> and QStringBase<QByte>. for compatibility, data()
would have to continue to return QChar* resp. uchar*, but more unified
access could be granted via array() (or wrappedData()) (returning QChar*
resp. QByte*) and optionally podArray() (or podData()) (returning
ushort* resp. uchar*).
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to