Boost logo

Boost :

Subject: Re: [boost] [filesystem] C++11 range-based for statement and BOOST_FOREACH support
From: Beman Dawes (bdawes_at_[hidden])
Date: 2012-07-13 21:43:40


On Fri, Jul 13, 2012 at 9:30 AM, Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
> On 07/12/2012 04:10 PM, Beman Dawes wrote:
>>
>> Support for the C++11 range-based for statement and BOOST_FOREACH for
>> directory_iterator and recursive_directory_iterator has been added to
>> trunk. This clears feature requests 5896 and 6521.
>>
>> The range-based for has been tested against gcc 4.6, which works, and
>> against VC++2012 RC, which ICEs the compiler. The ICE has been
>> reported to Microsoft.
>
>
> Does it work as expected with with MSVC9, 10, and 11?

BOOST_FOREACH on directory_iterators works against msvc 8, 9, 10, and 11.
C++11 Range-based for statement is implemented in msvc 11 only.

--Beman


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