- Exercise

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

We'll cover the following

Problem statement #

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

Get hands-on with 1400+ tech skills courses.