AutoPtr is based on SGI implementation of a auto_ptr template that makes memory handling a little bit easier.