
20 Dec
2004
20 Dec
'04
9:21 a.m.
"Eric Niebler" <eric@boost-consulting.com> wrote in message news:41C50C14.3040408@boost-consulting.com... | | BOOST_FOREACH is a macro which makes it simple to iterate over a | sequence. It is concise, and clearly expresses the programmer's | intentions. For example: | | short array_short[] = {1,2,3}; | BOOST_FOREACH( short & i, array_short ) | { | ++i; | } | // array_short contains {2,3,4} here looks great Eric. what about a BOOST_REVERSE_FOREACH ? br Thorsten