Hello
Can someone point me at any available guidelines for use of STL in new C++ code, in such a way as to not prevent the Intel compiler from vectorizing the code?
For example, does the latest version successfully vectorize simple transforms such as this?
transfrom(x.begin(),x.end(),
y.begin(),
[](float x, float y){return x+y;});
or, say we have 2 such transforms, one after the other, can thje compiler fuse the loops and vectorize the result?
Thanks
For more complete information about compiler optimizations, see our Optimization Notice.