Go to the documentation of this file. 47 #ifndef _MIRA_FOREACH_H_ 48 #define _MIRA_FOREACH_H_ 50 #include <boost/range/adaptor/reversed.hpp> 98 #undef foreach // QT might have defined it already (but boost foreach is much better and compatible!!) 100 #define foreach(i, c) for (i : c) 109 #undef foreach_reverse 110 #define foreach_reverse(i, c) for (i : boost::adaptors::reverse(c)) 133 #define foreachIt(var, container) for (auto var = container.begin(); var != container.end(); ++var)