Boost logo

Boost :

Subject: Re: [boost] [hash][msvc 8.0]<boost/functional/hash/detail/float_functions.hpp> issuing a using namespace std directive?
From: Anteru (newsgroups_at_[hidden])
Date: 2009-06-19 10:34:32

Richard Webb schrieb:
> I just tried it on VC10 (beta1), and the original problem does happen if
> <boost/functional/hash/hash.hpp> is included in a precompiled header and
> <list> is included outside it.
> It's ok if you don't use precompiled headers, and interestingly the new
> intellisense (which uses the EDG front end instead of the MS one) flags it
> as an error even though the actual compiler accepts it.
I can't reproduce it. I put <boost/functional/hash/hash.hpp> into a
precompiled header, and then I try

#include "precompiled.h"

#include <list>
typedef list<int> foo;

int main ()

which fails, as expected. What exactly did you try?


Boost list run by bdawes at, gregod at, cpdaniel at, john at