|
Boost Users : |
Subject: Re: [Boost-users] Visual Studio 2010 Building Error
From: Igor R (boost.lists_at_[hidden])
Date: 2011-02-14 03:55:34
> I have a "using namespace std;" codeline. What should I do with this
> codeline?
This line brings std::shared_ptr to the global namespace. I guess,
you've also got somewhere "using namespace boost;" or "using
boost::shared_ptr".
What you can try and do now is to replace all the references to
unqualified "shared_ptr" in your code with "boost::shared_ptr".
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