Hi, according C++11 specification (in my case I refer to draft n3376) the following 'for' construction is valid:
#include <iostream>
int main(void) {
for (auto x : { 0, 1, 2 }){
std::cout << x;
}
}But trying to compile it with intel c++ compiler gives me error:
main.cpp(3): error : assertion failed at: "shared/cfe/edgcpfe/il.c", line 15066
I have installed the following compiler: Intel® C++ Composer XE 2013 SP1 Update 2 Integration for Microsoft* Visual Studio* 2013, Version 14.0.1290.12