#include #include #include class Integer { public: int m; Integer(int a):m(a){}; }; class CompareParts
Because obj2 is a function. See this