Boost logo

Boost :

Subject: Re: [boost] [hash][msvc 8.0]<boost/functional/hash/detail/float_functions.hpp> issuing a using namespace std directive?
From: joaquin_at_[hidden]
Date: 2009-06-18 07:36:31


Anteru escribió:
> I tried with VC10, the bug is no longer present -- at least,
> #include <list>
>
> namespace bar {
> using namespace std;
> template <typename x> struct xxx {};
> }
>
> typedef list<int> foo;
> results in a compile error due to a missing identifier before < in the
> typedef list<int> line.
>

Can you try this?

  #include <list>
  #include <boost/functional/hash.hpp>

  typedef list<int> foo;

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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