You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raymond Chen edited this page Mar 19, 2019
·
1 revision
You must #define NOMINMAX before including windows.h to avoid conflicts with std::numeric_limits::max(). This is particularly insidious because all of the xlang library headers include impl/base.h, which secretly includes windows.h.