From: David Abrahams (dave_at_[hidden])
Date: 2004-03-01 08:32:48
"Eric Niebler" <eric_at_[hidden]> writes:
>> So why can't we add:
>> #if defined(min) || defined(max)
>> #error Define NOMINMAX and use the alternates in <algorithm>
> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk