#define NOMINMAX should before including any of Windows / Platform SDK header. Otherwise min/max macroses from there break std::min and std::max giving syntax errors during compilation
Reference: https://stackoverflow.com/questions/5004858/why-is-stdmin-failing-when-windows-h-is-included
#define NOMINMAX should before including any of Windows / Platform SDK header. Otherwise min/max macroses from there break std::min and std::max giving syntax errors during compilation
Reference: https://stackoverflow.com/questions/5004858/why-is-stdmin-failing-when-windows-h-is-included