C++ implementation of Constant Database (CDB++)