Boost::shared_ptr is really great. But using it you need lots of header file. Is thare any single header file available that will provide shared_ptr functionality?
somewhat urgent.
gcc -E boost/shared_ptr.hpp -o my_shared_ptr.hpp
Using the preprocessor, you generate a single header containing everything you need.