Op 19-10-2015 om 17:54 schreef Thiago Macieira: > First of all, QStringRef keeps a pointer to the original QString, so it isn't > as fragile as QStringView. In fact, during the development of the XML stream > classes, there was a QSubString class that did more or less what QStringView > would do. It got replaced for a reason. Would you mind expanding on that a bit? I would think that the XML stream classes would be a natural example to use a string view, but it seems that such a thing was tried and dragons were uncovered... Perhaps it would be good to share a war story here so we won't run into those same dragons again?
André _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development