Boost logo

Boost :

Subject: Re: [boost] [config] Add BOOST_NO_RANGE_BASED_FOR macro?
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2012-07-09 12:14:42


[Beman Dawes]
> Is it OK to add a BOOST_NO_RANGE_BASED_FOR macro to trunk?

[Marshall Clow]
> 1) Can you just test for c++11 support? Range based for loops are pretty basic
> #if __cplusplus >= 201103L

VC11 supports range-for, but defines __cplusplus to 199711.

STL


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