https://bugs.freedesktop.org/show_bug.cgi?id=87003
Bug ID: 87003
Summary: Kill BOOST_FOREACH on master and use C++11s
range-based for() loops instead
Product: LibreOffice
Version: unspecified
Hardware: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Libreoffice
Assignee: [email protected]
Reporter: [email protected]
Most uses of BOOST_FOREACH should be replacable with a simple C++11 range-based
for() iteration. Since this is now allowed on master for LibreOffice 4.5, we
should get rid of BOOST_FOREACH, which is essentially a hack/backport to the
same effect. When doing so, please also take care to remove the include
directive for boost/foreach.hpp with the last removed macro.
Here is an article describing ranged for:
http://www.cprogramming.com/c++11/c++11-ranged-for-loop.html
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs