Boost logo

Boost Users :

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


Hi,

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>'
         with
         [
             T=PHProcess
         ]
         or 'std::list<_Ty>'
         with
         [
             _Ty=PHProcess
         ]

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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net