A shared_ptr can share ownership of an object while storing a pointer to another...

@kimapr@ublog.kimapr.net

A shared_ptr can share ownership of an object while storing a pointer to another object. This feature can be used to point to member objects while owning the object they belong to. The stored pointer is the one accessed by get(), the dereference and the comparison operators. The managed pointer is the one passed to the deleter when use count reaches zero.

Huuhhh