
19 Dec
2004
19 Dec
'04
6:29 a.m.
Eric Niebler <eric@boost-consulting.com> wrote:
BOOST_FOREACH is a macro which makes it simple to iterate over a... <snip>
Just wanted to say thanks. I grepped my current project and, even though I'm macro averse, I noticed that I use BOOST_FOREACH a lot now. Your current version plugged right in with no problems. It makes code like: // normalise BOOST_FOREACH( double & w, weight_ ) { w /= min_w; } much easier and clearer. Thanks, Matt.