#ifndef CLASSES_ICOMPARABLE_H #define CLASSES_ICOMPARABLE_H #include class IComparable { public: // only for presentation purpose IComparable() { std::cout << "IComparable created" << std::endl; } virtual ~IComparable() { std::cout << "IComparable destroyed" << std::endl; } virtual int CompareTo(IComparable* other) = 0; }; #endif //CLASSES_ICOMPARABLE_H