A lightweight smartpointer library for C++