Boost logo

Boost Users :

From: Andy Little (andy_at_[hidden])
Date: 2006-03-08 06:55:43


"Shunsuke Sogame" wrote
> Andy Little wrote:

>> Are there any plans for a BOOST_REVERSE_FOREACH?
>
> I hear the new range library is under construction,
> which will enable:
>
> BOOST_FOREACH (int x, vect|reversed) {
>
> }

That looks neat!

> BOOST_FOREACH (int x, ::make_reverse_range(vect)) {

That looks quite neat too... :-)

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