C++ common library