This should be trivial but I can\'t seem to find it (unless no such class exists!)
What\'s the STL class (or set of classes) for smart pointers?
UPDATE>
If you don't want/can't use Boost and your compiler implements TR1, you can use shared_ptr (borrowed from Boost):
shared_ptr
#include ... std::tr1::shared_ptr ptr(new Foo);
Otherwise, no, there are no smart pointers except std::auto_ptr in vanilla STL.
std::auto_ptr