- Exercise
In this exercise, you will implement a class that returns an std::shared_ptr.
Task
Implement the class ShareMe
so the objects of type ShareMe
return a std::shared_ptr
to themselves.
Get hands-on with 1300+ tech skills courses.
In this exercise, you will implement a class that returns an std::shared_ptr.
Implement the class ShareMe
so the objects of type ShareMe
return a std::shared_ptr
to themselves.
Get hands-on with 1300+ tech skills courses.