
14 Feb
2011
14 Feb
'11
8:55 a.m.
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".