
"Edward Diener" <eddielee@tropicsoft.com> wrote in message news:c1m13g$tro$1@sea.gmane.org...
header files for normal developers also. I do know of the workaround for VC++ of (std::min)(x,y) and (std::max)(x,y) which I have to use in my own code when windows.h is included.
Do you refer to library source code that you distribute to multiple customers or to internal/application code? If the latter, why not use -DNOMINMAX? I can understand the issue with Boost sources, but otherwise adding NOMINMAX to the list of pre-defined symbols becomes pretty much reflexive when developing under Windows... I don't remember encountering any SDK or other Microsoft header files that rely on min/max macros and only ran across a 3rd party header that expected them once. ...Max...