I am making extensive use of boost:shared_ptr in my code. In fact, most of the objects that are allocated on the heap are held by a shared_ptr. Unf
boost:shared_ptr
shared_ptr
boost has a solution for this use case, check enable_shared_from_this