Definition
A smarter pointer is an object that stores a pointer to a heap_allocated object
- A smart pointer looks and behaves like a regular C++ pointer
- These can help manage memory
- The smart pointer will delete the pointed-to object at the right including invoking the object’s destructor
- With correct use of smart pointers, you no longer have to remember when to delete heap memory