You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because we can have as much shared_ptrs as we want point to the same memory. Thus the ownership of the memory do not need to be released by one pointer and pass to another pointer.