Boost logo

Boost Users :

From: Jan Stetka (janpstetka_at_[hidden])
Date: 2006-05-02 13:55:39


When I intend to use a std::list with

using namespace boost::shmem; //and
using namespace std;

I get this error:

\src\ph\projects\PHQuery\running.cpp(78) : error C2872:
'list<PHProcess,std::allocator<PHProcess> >' : ambiguous symbol
         could be 'boost::shmem::list<T>'
         or 'std::list<_Ty>'

Although I haven't included boost/shmem/containers/list.hpp. How does
the compiler know about shmem::list? Does the compiler know about all
types defined in the namespace?

Thanks in advance

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at