A C++ port of Clam