How to make a clone of shared_ptr value given that shared_ptr encompasses abstract class?
This is a project from university, I have to make a “paint” and now I am stuck at making copying and pasting. shape
is an abstract class from which other real shapes like Rectangle
and Circle
are inherited.