Smart Pointers

Smart pointers are objects which resemble pointers in their behavior. They are implemented in C++ using operator overloading.

They can often cause confusion because of the extra ‘smart’ behaviors that they do which can result in confusing side effects.

 

Â