[Interest] (no subject)

Thiago Macieira thiago.macieira at intel.com
Fri Jun 26 17:47:59 CEST 2015

On Friday 26 June 2015 17:37:01 Prav wrote:
> As   soon   as  foreach  is  intended to not modify container I see no point
> in copying it. Change in as easy as saying "const T &c;" instead of current
> "const T c;"

Please make this change, recompile Qt and test to see if it introduces any 
regressions. Unlike the range for, there's no sequencing point inside 
Q_FOREACH, so there may be no dangling reference problem.

But since you're the proponent of such a change, the burden falls on you to 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Interest mailing list