Linked by Eugenia Loli on Mon 1st Aug 2005 00:05 UTC
General Development Don't be jealous of programmers using new languages, such as Python or C#! C++ gives you many ways to iterate through data you've stored in containers, supports for-each, and has helpful devices called lambda functions. Jeff Cogswell shows you how you can fly through your containers with ease.
Permalink for comment 12183
To read all comments associated with this story, please click here.
RE[3]: BOOST_FOREACH
by eric_niebler on Mon 1st Aug 2005 18:32 UTC in reply to "RE[2]: BOOST_FOREACH"
eric_niebler
Member since:
2005-06-29

That's not true. BOOST_FOREACH expands to a single statement, so you can use it where ever you could use a regular for loop. No extra braces required.

Reply Parent Score: 1