Boost Users :
From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2005-01-19 17:58:40
At Wednesday 2005-01-19 12:24, you wrote:
>Victor A. Wagner Jr. wrote:
>>At Wednesday 2005-01-19 11:12, you wrote:
>>>The Boost config header win32.hpp used to disable these but no longer
>>>does. You can disable the macros yourself by defining NOMINMAX before
>>>including Windows headers.
>>remind me of the logic behind requiring the user to now #define NOMINMAX
>The old win32.hpp unconditionally #undef'ed min and max. In their place,
>win32.hpp defined global min and max templates. However, these didn't
>behave quite the same way as the min and max macros. In some situations,
>the calls were ambiguous, and at other times, the behavior of some users'
>programs was silently changed. This is a Bad Thing. So we don't monkey
>with the min and max macros anymore.
tradition (#define max(a,b)......) is a wonderful thing, it just lasts too
>Boost-users mailing list
Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
"There oughta be a law"
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net