Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2004-03-02 16:42:10


Guillaume Melquiond wrote:
> Le mar 02/03/2004 à 19:05, Eric Niebler a écrit :
>>Guillaume, what purpose is BOOST_NO_STDC_NAMESPACE serving here?
>
>
> Good question...
>
> It never caused any problem (seems like nobody was using the interval
> library with both vc7.1 and stlport). However I don't remember the
> reason it was used for min/max. At first I thought it was necessary for
> G++ 2.95. But I did give it a try and it seems to handle "using
> std::min" even if it should be "using ::min" with this compiler
> (everything was in the root namespace).
>

If that's the case, then all this preprocessor logic can go away, and
"using std::min;" is always the right thing to do. I'll check in the fix
ASAP.

-- 
Eric Niebler
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