between magic mappings of objects containing pointers and the pointers
themselves by adding object_map and object_add methods to the
context. These allow the shared_ptr object's magic number to be keyed
by the address of the contained value while also allowing the
contained value to have its own magic number tied to the same address.
I have retro-fitted this solution to existing stlplus classes that
store a magic number for the object itself in the dump: smart_ptr,
simple_ptr, digraph and ntree.