|
Boost Users : |
From: Andy Little (andy_at_[hidden])
Date: 2006-03-08 14:35:54
"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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net