Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 355 Bytes

13.7.md

File metadata and controls

3 lines (2 loc) · 355 Bytes

When we assign one StrBlob to another, the underlying smart pointer is copyed. But the vector to which the pointer pointed is not copyed, which means both StrBlob objects will use the same vector. This may not be what we want.

When we assign one StrBlobPtr to another, the same thing happens as assigning a StrBlob, but this may be what we want.