cpp common lib