hi, I have pushed a working implementation of a smart pointer similar to the boost::shared_ptr pointer. It is called ns3::ptr, is located in src/core/ptr.h with sample code in samples/main-ptr.cc pull from http://code.nsnam.org/mathieu/ns-3-ptr comments are welcome, Mathieu