On Tue, 30 Nov 2004 05:59:44 +0000 (UTC), Vyacheslav E. Andrejev wrote
Hello Victor,
VW> why not? all C++ users are supposed to know that they have to VW> #define NOMINMAX if they're going to use windows? and if my VW> defining it beforehand doesn't break anything, then neither would VW> their doing it automatically. VW>
There are dozens of libraries that doesn't concern to boost. I see no reasons for boost to explicitly support neither windows nor other external libraries that violates rules for standard integrity. It's my IMHO.
NOMINMAX is a windows stuff, so just use it in you project, that's all.
I think there are reasons when on windows to not just undef these -- like when using ATL. Eric Niebler actually made most of these changes between 1.31/1.32 for all of boost -- not just date-time. Eric any thoughts on this problem/thread? Jeff