ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
[boost] Re: Solution to Windows' min/max problem?
by David Abrahams other posts by this author
Mar 1 2004 1:32PM messages near this date
[boost] Solution to Windows' min/max problem? | [boost] Re: Solution to Windows' min/max problem?
"Eric Niebler" <eric@[...].com>  writes:

> > So why can't we add:
> > #if defined(min) || defined(max)
> > #error Define NOMINMAX and use the alternates in <algorithm>
> > #endif
> > 
> 
>  Because this will break people's code in a way they can't easily
>  fix. Nor should they have to.
> 

Actually, not.  It would be ineffectual, because NOMINMAX only
matters before min and max are #defined.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Daryle Walker
David Abrahams
Eric Niebler

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved