> On 13 May 2020, at 08:14, André Somers <an...@familiesomers.nl> wrote: > > > On 12-05-20 22:42, Thiago Macieira wrote: >> >> QStringView::mid(), for example, returns QStringView, but QString::mid() >> returns QString. > _Should_ QString::mid be returning a QString though? Perhaps it should return > a QStringView?
That’s a separate question, but I agree it’s something we should investigate. Most likely it would break a large amount of code however (mid() being a methods that’s extremely widely used). Cheers, Lars _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development