C++ library for