8 Mar
2006
8 Mar
'06
7:35 p.m.
"David Abrahams"
"Andy Little" writes:
Are there any plans for a BOOST_REVERSE_FOREACH?
I suggest you just make a nice reverse adaptor that models Range, wrapping the underlying iterators in boost::reverse_iterator, and an object generator that builds instances. Then you can
BOOST_FOREACH( whatever, reverse_view( the_sequence ) )
Ok Thanks! regards Andy Little