Boost logo

Boost :

From: Russell Hind (rh_gmane_at_[hidden])
Date: 2005-03-10 12:17:36


Is there a way to reverse iterator using BOOST_FOREACH? From a quick
browse of the docs, it isn't mentioned. I guess it could be done using
a std::pair of reverse iterators, but would it be easy to build a
BOOST_REVERSE_FOREACH construct or BOOST_RFOREACH that just runs from
rbegin to rend?

Cheers

Russell


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk