why not just undefine it before STL headers? On Thu, Jul 17, 2014 at 11:33 AM, Borzh <borz...@gmail.com> wrote: > Hello all, > > I propose using template functions in minmax.h instead of defines. Or at > least use uppercase letters for macros. > > It has been discussed a lot of times: > - windows.h defines min/max, it is ugly, ok but I thought Valve is not > Microsoft. At least for Windows you can #define NOMINMAX before include > windows.h. > > - Valve's minmax.h defines min/max and you can't use STL because it tries to > apply macros to std::min and std::max which breaks everything!!! Can't avoid > it, because Valve use this macros everywhere!!! > > If someone from Valve is reading this, please do something, it is awful !!! > > Thanks, > Boris. > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > >
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders