Boost logo

Boost Users :

Subject: Re: [Boost-users] Visual Studio 2010 Building Error
From: Igor R (boost.lists_at_[hidden])
Date: 2011-02-12 12:34:01


> 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.


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