Advertisement
kolbka_

Untitled

Jan 14th, 2022
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.14 KB | None | 0 0
  1.     shared_ptr(const shared_ptr &other)
  2.         : ptr_on_object(other.ptr_on_object), use_count(other.use_count) {
  3.         (*use_count)++;
  4.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement