[LLVMdev] Using C++'11 language features in LLVM itself
Chris Lattner
clattner at apple.com
Wed Jan 9 11:53:13 PST 2013
On Jan 8, 2013, at 8:33 PM, greened at obbligato.org wrote:
> Chris Lattner <clattner at apple.com> writes:
>
>> One other specific problem with this is that (I'm told) MSVC 2010
>> doesn't support range-based for loops. I don't think it is reasonable
>> to require windows users to be on MSVC 2012.
>
> That's _really_ unfortunate. I've found range-based for gets one
> thinking a different way about how to present data.
I completely agree, but I don't think its reasonable to drop VC2010, so I don't think we have a choice. It's terrible but it might be reasonable to use a foreach macro.
-Chris
More information about the llvm-dev
mailing list