According to https://software.intel.com/en-us/articles/c14-features-supported-by-inte... ICC15 should support initialized lambda captures. Yet code like this
*this = make([f, theLocalData = std::move(theLocalData)] {
fails to compile:
error: expected a "]"
1> *this = make([f, theLocalData = std::move(theLocalData)] {
1> ^
clang compiles it, so I assume I am using that feature correctly: I didn't find any compiler option to enable C++14, it is set to use C++11 features though. Bug in the compiler or am I using it wrong?
(Sorry for the formatting, but this editor is totally messed up on Safari)