C++ class draft