I'm just working on a project that makes heavy use of the min(a,b) and max(a,b) macros defined in Windef.h. I would really prefer using std::min(...) and std::max(...) instead, not to mention std::numeric_limits<>::min() and std::numeric_limits<>::max().

It just hurts my head, so is there a trick to somehow bypass the macro expansion where I want it to? Or will I really have to #undef min/max and include<minmax.h> at the end of my files

Oliver