Using shared_ptr instead of raw pointers

Printable View