#ifndef __DEF_H #define __DEF_H #include // This class has no explictly declared constructor. // C++ will create a default constructor if one is needed // (and you don't do any of many things, like declare any // kind of constructor). class Def { public: ~Def(); std::string toString() const; private: int intVar; int *ptrVar; std::string strVar; }; #endif // __DEF_H