[Development] QString and related changes for Qt 6

Marc Mutz marc.mutz at kdab.com
Tue May 12 18:34:40 CEST 2020

On 2020-05-12 11:31, Jaroslaw Kobus wrote:
> So, just an idea: instead of repeating the common API part in QString
> and QStringView, what about making it one common? E.g. what about:
> - deriving QString from QStringView (and adding mutator API)
> or (maybe even better):
> - aggregating QStringView object as a part of QString API and giving
> accesor for it, like:

Vetoed. Over my dead body™. No inheriting of non-polymorphic types from 
each other. What we have is static polymorphism, and that's what we 
should continue to have.


More information about the Development mailing list