<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Kill FOREACHPAM_START for good"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86929#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Kill FOREACHPAM_START for good"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86929">bug 86929</a>
from <span class="vcard"><a class="email" href="mailto:bjoern.michaelsen@canonical.com" title="Björn Michaelsen <bjoern.michaelsen@canonical.com>"> <span class="fn">Björn Michaelsen</span></a>
</span></b>
<pre>We cant for now have sw::Ring<> implement STL-like begin()/end() functions,
see:
<a href="https://gerrit.libreoffice.org/gitweb?p=core.git;a=blob;f=sw/inc/ring.hxx;h=d58733f1459fda302a99d1ea9d56da82c55f9ca9;hb=2dd7cc5b925d0b4c62553eeba9f6524ce7b6217b#l105">https://gerrit.libreoffice.org/gitweb?p=core.git;a=blob;f=sw/inc/ring.hxx;h=d58733f1459fda302a99d1ea9d56da82c55f9ca9;hb=2dd7cc5b925d0b4c62553eeba9f6524ce7b6217b#l105</a>
So for now, BOOST_FOREACH should still be an improvement over the old
const-eating homegrown macros. Once none of the derived classes of sw::Ring<>
are deriving from any other STL-container, we should be able to trivially
replace BOOST_FOREACH with a proper C++11 style for() iteration.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>