
Hello Abdullah, I have had this problem also. From VS2010 there is also a shared_ptr in the std namespace (C++0X), which has the same function as the Boost shared_ptr. Probably there is a namespace clash somewhere in your code (both std and boost declared) without using the explicit namespace. Greetings, Jan On 11 feb 2011, at 15:13, Abdullah García wrote:
Hi,
I have been working previously with Visual Studio 2008 and I haven't had any problem with my actual code. I needed to migrate my whole solution to Visual Studio 2010 and now I get the following error:
error C2664: 'boost::shared_ptr<T>::shared_ptr(boost::shared_ptr<T> &&)' : cannot convert parameter 1 from 'std::tr1::shared_ptr<_Ty>' to 'boost::shared_ptr<T> &&'
Do you have any clue or advice on how to solve it?
Greetings!
-- Abdullah García _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Met vriendelijke groet, Jan Krabbenbos jan.krabbenbos@gmail.com