Skip to content

General usage notes

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.

Clone this wiki locally