#ifndef IVISITABLE_H #define IVISITABLE_H class Visitor; class IVisitable { public: virtual void accept(Visitor& v) = 0; }; #endif // IVISITABLE_H