[Interest] Q_FOREACH creating copy , was (no subject)

Prav pr12og2 at programist.ru
Wed Jul 1 12:59:36 CEST 2015


> But yes, this is a task for which I already know the result.
If  you  know  the result there is only one way ... it is to add new macro ... but you are statically blocking this way too.
This means for me that only enough quantity of people can change this ... so we can return back to this idea if some number of people will show up voting for const-ref loops in Qt.
If someone want such thing in Qt you can vote for https://bugreports.qt.io/browse/QTBUG-46961

I think that can be considered as the result of the discussion. Thanks for everybody’s answers!




More information about the Interest mailing list