[Bug 87003] Kill BOOST_FOREACH on master and use C++11s range-based for() loops instead

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 31 23:37:55 PST 2014


David Tardon <dtardon at redhat.com> changed:

           What    |Removed                     |Added
                 CC|                            |dtardon at redhat.com

--- Comment #5 from David Tardon <dtardon at redhat.com> ---
(In reply to Nathan Yee from comment #4)
> http://opengrok.libreoffice.org/xref/core/sw/source/core/doc/CntntIdxStore.
> cxx#271
> Apparently range-based for loops cannot be used to iterate over an
> std::pair. Does anyone have any advice on how to resolve this issue?

Iterate over pRedlineTbl. That is what the current BOOST_FOREACH does, i.e., it
iterates over a range defined by an std::pair of iterators.

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/20150101/89202be0/attachment.html>

More information about the LibreOffice mailing list