C++ Implementation of Konfiture