
9 May
2005
9 May
'05
2:39 p.m.
you might be interested in this document from the new c++0x mailing: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1796.html for the naming discussion, proposed syntax is for(int i : vec) (personally I don't care if it's called BOOST_FOREACH or BOOST_FOR) I've questioned in the past if it is expected behaviour to do "hoisting". the proposal does. "4 Making a custom type work with the for loop" may also be interesting to make the BOOST_FOREACH extension mechanism similar. Regards, -- Stefan Strasser