add cpp-memory