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 12180
To read all comments associated with this story, please click here.
by eric_niebler on Mon 1st Aug 2005 18:31 UTC in reply to "RE: BOOST_FOREACH"
Member since:

You are mistaken. BOOST_FOREACH does not make you write the type of the iterator. You only have to specify the element type. This is how the foreach keyword works in C#, and how it will most likely work in C++0x.

Reply Parent Score: 1