
12 Feb
2011
12 Feb
'11
5:34 p.m.
You are using both boost::shared_ptr and std::tr1::shared_ptr in your code, and attempt to assign one to the other. Under Visual Studio 2008 (and, I assume, Boost.TR1) they are the same. Visual Studio 2010 has its own std::tr1::shared_ptr which is not the same as boost::shared_ptr.
VS2008 already had its own tr1::shared_ptr. But under VS 2010 shared_ptr became also a part of std.