Boost logo

Boost :

From: Thomas Plum (tplum_at_[hidden])
Date: 2000-07-18 14:55:57


At 07:42 PM 7/5/00 -0400, you wrote:
> Actually, the problem isn't VC++'s libraries directly, but <windows.h>
>which defines min & max as macros ...

Please ignore if unhelpful ... but many of these situations can be
improved with "standards-helper" techniques like

#include <windows.h>
#undef min
#undef max
template < blah > T min( blah ) etc

and the appropriate #if etc for feature tests ...

-----------------------------------------------------------------------+

Thomas Plum Plum Hall Inc, 3 Waihona Box 44610, Kamuela HI 96743 USA
tplum_at_[hidden] TEL +1-808-882-1255 FAX +1-808-882-1556

http://www.PlumHall.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk