foreach.h File Reference

#include <boost/foreach.hpp>
#include <boost/range/iterator_range.hpp>

Go to the source code of this file.

Defines

#define BOUNDED_FOREACH(x, begin, end)   BOOST_FOREACH(x, boost::make_iterator_range(begin, end))


Define Documentation

#define BOUNDED_FOREACH x,
begin,
end   )     BOOST_FOREACH(x, boost::make_iterator_range(begin, end))
 

Similar to BOOST_FOREACH, but we can use our own begin/end iterators (which allows iterating over ranges other than begin() to end())


Generated on Thu Mar 27 19:04:15 2008 by  doxygen 1.4.6