Intel® Advisor Help
The C++11 (new standard for the C++ language, formerly C++0x) lambda expression support makes many Intel® oneAPI Threading Building Blocks (oneTBB) constructs easier to program because it avoids the need to introduce extra classes to encapsulate code as functions. If you decide to use this feature, you need a compiler that supports it, such as the Intel® C++ Compiler Classic or Intel® oneAPI DPC++/C++ Compiler. For more information about C++11 lambda expression support in the other compilers, please see your compiler documentation (online help).
When using the command line with the Intel® C++ Compiler Classic or Intel® oneAPI DPC++/C++ Compiler, specify the following option to enable lambda expression support:
To enable the C++11 support in Visual Studio on a Windows* OS system: