- Exercise

In this exercise, you will implement a class that returns an std::shared_ptr.

We'll cover the following

Task

Implement the class ShareMe so the objects of type ShareMe return a std::shared_ptr to themselves.

Get hands-on with 1000+ tech skills courses.