Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shared_ptr(const shared_ptr &other)
- : ptr_on_object(other.ptr_on_object), use_count(other.use_count) {
- (*use_count)++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement