[Development] QList

Ville Voutilainen ville.voutilainen at gmail.com
Fri Mar 24 09:50:27 CET 2017


On 24 March 2017 at 10:34, Marc Mutz <marc.mutz at kdab.com> wrote:
> Ville: are there any proposals for making *this passable by value? Like
>
>    struct QLineF {
>        Q_CORE_EXPORT QPointF intersection(QLineF other) =;
>         // =: pass *this by value, mimicking & and && for (l|r)value ref
>    };


No, I have never seen such an idea being suggested before this discussion.



More information about the Development mailing list