Windows* OS

Some Intel® Threading Building Blocks (Intel® TBB) header files necessarily include the header file <windows.h>, which by default defines the macros min and max, and consequently breaks the ISO C++ header files <limits> and <algorithm>. Defining the preprocessor symbol NOMINMAX causes <windows.h> to not define the offending macros. Thus programs using Intel® TBB and either of the aforementioned ISO C++ headers should be compiled with /DNOMINMAX as a compiler argument.

For more complete information about compiler optimizations, see our Optimization Notice.