0
shared_ptr memory layout
Struct12345678910111213141516171819202122232425class __shared_ptr { element_type* _M_ptr; // Contained pointer. __shared_count<_Lp> _M_refcount; // Reference counter.