Boost :: shared_ptr is really wonderful. But using it, you need a lot of header files. Is any single header file available that will provide shared_ptr functions?
somewhat urgent.
gcc -E boost/shared_ptr.hpp -o my_shared_ptr.hpp
Using a preprocessor, you create one header containing everything you need.
If you want to avoid all boost header files, although you only use shared_ptr, you can extract shared_ptr using BCP:
http://www.boost.org/doc/libs/1_36_0/tools/bcp/bcp.html
, , - .