When including windows.h, the std::min and std::max definitions from <aglorithm> are shadowed with a macro defined through the Windows header. This is disabled by using #define NOMINMAX but I guess it would be very restrictive to have it hard-coded on the mio headers. Would it make sense to have some sort of option in CMAKE to enable/disable this? I can make a PR if you think it's a good idea.
When including
windows.h
, thestd::min
andstd::max
definitions from<aglorithm>
are shadowed with a macro defined through the Windows header. This is disabled by using#define NOMINMAX
but I guess it would be very restrictive to have it hard-coded on the mio headers. Would it make sense to have some sort of option in CMAKE to enable/disable this? I can make a PR if you think it's a good idea.