> -----Original Message-----
> [...]
> >BTW: functions storing a passed QString as-is should provide a
> >QString&& overload, and that might be a good idea even when otherwise
> >using QStringView only.
> 
> Yes, agree with this.

I guess this advice is not only for QString arguments though (from 5.7 
onwards). Which other types should get an && overload?

Does API exposed via Q_PROPERTY/ QML benefit from an r-value reference 
overloads, too?

I think it's a good idea to create some recommendations for 5.7 now, before 
everyone develops his own rules ...

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

Reply via email to