|
Boost : |
From: Darin Adler (darin_at_[hidden])
Date: 2003-12-29 17:29:28
On Dec 29, 2003, at 1:50 PM, Eric Niebler wrote:
> It seems extremely unwise to be undef'ing min and max. Evil though
> they are, many Win32 platform headers (and users' headers!) depend on
> them, and there is simply no way to write a template or set of
> overloads that behave exactly as the macros do.
Microsoft suggests defining NOMINMAX:
<http://support.microsoft.com/default.aspx?scid=kb;en-us;143208>.
How does <afxtempl.h> cope with clients that have set NOMINMAX?
-- Darin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk