On Monday 19. October 2015 23:26:45 Marc Mutz wrote:
> This particular mistake is easy to prevent statically, though:
> 
>    QStringView(QString &&) = delete;

No.

We want this to work:

 if (isValidIdentifier(myVariant.toString()))

with isValidIdentifier taking a QStringView and toString returning a 
temporary.

-- 
Olivier 

Woboq - Qt services and support - http://woboq.com - http://code.woboq.org

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to