Marco Bubke (16 January 2019 10:59)
> You can use std::string which as small string optimization instead of
> QByteArray too. In many cases where you would use const String &foo
> you can use std::string_view, so you are more flexible.

Note that we now have a QStringView, which can likewise replace many
uses of const QString & - not that this is any help with UTF-8.
Uptake has been slow, but some of us are using it.

        Eddy.
_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to