Boost logo

Boost :

From: Max Motovilov (max_at_[hidden])
Date: 2004-02-26 22:06:37

"Edward Diener" <eddielee_at_[hidden]> wrote in message

> 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.


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