C++ object model