Boost logo

Boost :

Subject: Re: [boost] [Config] Macro for C++0x range-based for
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-12-17 08:00:16


On Fri, Dec 17, 2010 at 6:55 AM, John Maddock <boost.regex_at_[hidden]> wrote:
>
> That's a problem, writing code both the "old" way and the "new" way (which
> is what boost authors would have to do, complete with all the #ifdef logic)
> is probably worse than just using the old style and be done with it.

Or you could just use BOOST_FOREACH and be done with it; whichever is
more appropriate to your situation.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk