Boost logo

Boost :

Subject: Re: [boost] [hash][msvc 8.0] <boost/functional/hash/detail/float_functions.hpp> issuing a using namespace std directive?
From: Daniel James (daniel_james_at_[hidden])
Date: 2009-06-18 09:01:08


2009/6/18 Richard Webb <richard.webb_at_[hidden]>:
>
> Daniel James wrote:
>>
>> When I tested it, it didn't affect VC9
>
> You get the same thing happening in VC9(SP1) if you put #include
> <boost/functional/hash/hash.hpp> in a precompiled header and <list> in a cpp
> file that includes it.

OK, I might have run it with VC10 on accident. I've got too many
compilers installed.

> In any case, it seems ok with the current trunk :)

I think it's okay now, but I'll wait until all the testers have run
before merging to release. Although we don't seem to have anyone
testing with anything older than Visual C++ 9 on trunk.

I still might write a special case for Visual C++ that doesn't use
'using namespace' outside of a function, just to be on the safe side.

thanks,

Daniel


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