Skip to content

Files

Latest commit

3e4f933 · Feb 5, 2016

History

History
3 lines (2 loc) · 431 Bytes

13.10.md

File metadata and controls

3 lines (2 loc) · 431 Bytes

When a StrBlob object is destroyed, the shared pointer member is destroyed by calling the pointer's destructor, thus decreasing the reference count of the shared pointer, if the count is zero, then the vector pointed by the smart pointer is destroyed too.

When a StrBlobPtr object is destroyed, the weak pointer member is destroyed by calling the pointer's destructor, the vector pointed by the smart pointer is not affected.