SmartPointer implement a tiny shared_ptr. Usage Ensure you have installed CMake. mkdir build cd build cmake .. make ./shared_ptr