[Development] Q_COMPILER_RANGE_FOR not supported by/defined for VS2012 and VS2013 ?

Thiago Macieira thiago.macieira at intel.com
Wed Mar 2 17:59:05 CET 2016

On quarta-feira, 2 de março de 2016 08:52:10 PST Koehne Kai wrote:
> Fair enough, I didn't want to imply otherwise. But I read your statement as
> 'don't dare to use range-for unless you test with MSVC yourself', which is
> IMO  too much to ask for.
> The rule of thumb I got is "use ranged-for with curly brackets". Doesn't
> this cover it?

Maybe. Who knows, the parser is buggy!

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list