Original Post
Sorry for the lame question, but I can't find a definitive answer anywhere.
I wrote a system that I really like using C++ in VS 2010. I #include'd, and had access to std::shared_ptr. I am now trying to bring the system into a team project I am working on in VS 2008. I read that shared_ptr and other classes/libraries were not originally in VS2008, but were added in SP1. My VS About window says:
Version 9.0.21022.8 RTM
Microsoft .NET Framework Version 3.5 SP1
Shouldn't I have access to shared_ptr's? I tried:
[source lang="cpp"]
#include
using std::shared_ptr;
[/source]
and
[source lang="cpp"]
#include
using std::tr1::shared_ptr;
[/source]
Both told me that shared_ptr is not a member of the namespace. Any help would be much appreciated, thank you.
I wrote a system that I really like using C++ in VS 2010. I #include'd
Version 9.0.21022.8 RTM
Microsoft .NET Framework Version 3.5 SP1
Shouldn't I have access to shared_ptr's? I tried:
[source lang="cpp"]
#include
using std::shared_ptr;
[/source]
and
[source lang="cpp"]
#include
using std::tr1::shared_ptr;
[/source]
Both told me that shared_ptr is not a member of the namespace. Any help would be much appreciated, thank you.