
9 Jun
2007
9 Jun
'07
2:28 p.m.
Hi all, I want to combine BOOST_FOREACH and BOOST_AUTO in my code. With the current libs can do something like: BOOST_FOREACH( BOOST_TYPEOF( *c.begin() ) v, c ) { ... } I was wondering if this kind of use can be promote to a more user friendly syntax like: BOOST_AUTO_FOREACH( v, c ) { ... } Thanks! Best regards Matias