#include <Visitor.h>
Put it in every class that you want to make visitable (in addition to deriving it from BaseVisitable<R>