<table><tr><td style="">dfaure accepted this revision.<br />dfaure added a comment.<br />This revision is now accepted and ready to land.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D19251">View Revision</a></tr></table><br /><div><div><p>Ah, no, you're right.</p>

<p>I remembered that there was a problem with function calls (rvalues) but that problem is not what I thought, it's the fact that one can't write qAsConst(myFunc()) (because the return value gets destroyed before it's used).<br />
But if the rvalue is const already, no problem.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R243 KArchive</div></div></div><br /><div><strong>BRANCH</strong><div><div>compile_without_foreach (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19251">https://phabricator.kde.org/D19251</a></div></div><br /><div><strong>To: </strong>mlaurent, dfaure<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>