Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
10 Views

status of for, each, in

Hi, what is the status of"for each, in" ? Is it supported?

for each (const Edge* pFindEdge in m_edges)
{
if (pEdge == pFindEdge)
return true;
}
0 Kudos
4 Replies
Highlighted
10 Views

Hi William, welcome to the forum!

No, this is not working/supported currently. We have an open feature request on this that I have linked your thread to so that I can track the status of that. If there's any updates on the status of that feature request, I will let you know.

0 Kudos
Highlighted
10 Views

Let me clarify one point, based on the code snippet you gave.

The Intel C++ Compiler does not support /clr or the managed runtimes, so "for each" syntax in that context would require an entirely different feature request. The report I referenced is in regards to "for each" syntax being applied to C++ STL containers in native compilations.

0 Kudos
Highlighted
10 Views

Agreed. I was asking about "for each" in native; i.e., STL. The source set I am working with uses "for each" a great deal.
0 Kudos
Highlighted
10 Views

Hi William,

The Intel(R) C++ Compiler supports for,each,in syntax now with version 15.0 (available in Intel(R) Parallel Studio XE 2015, all editions). Let me know if you need anything else.

0 Kudos