[Bug 86929] Kill FOREACHPAM_START for good

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 2 04:17:37 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=86929

--- Comment #3 from Björn Michaelsen <bjoern.michaelsen at canonical.com> ---
We cant for now have sw::Ring<> implement STL-like begin()/end() functions,
see:

https://gerrit.libreoffice.org/gitweb?p=core.git;a=blob;f=sw/inc/ring.hxx;h=d58733f1459fda302a99d1ea9d56da82c55f9ca9;hb=2dd7cc5b925d0b4c62553eeba9f6524ce7b6217b#l105

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20141202/d28e82ea/attachment.html>


More information about the LibreOffice mailing list