Search code examples
c++headerc++11shared-ptr

If I want to use std::shared_ptr, which header to include?


In c++0x shared_ptr will be moved from tr1 into std. So which header to include to get it?

I am using g++ 4.5 (ubuntu 10.10)


Solution

  • You'll find it in <memory> now.