Boost logo

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:

How does <afxtempl.h> cope with clients that have set NOMINMAX?

     -- Darin

Boost list run by bdawes at, gregod at, cpdaniel at, john at