#include <Visitor.h>
Public Types | |
typedef R | ReturnType |
typedef T | VisitType |
Public Member Functions | |
virtual R | visit (T &)=0 |
) To create a visitor for a set of types T1, T2 ... do this: struct MyVisitor : public Visit<T1>, public Visit<T2> ... {};
T | Type to visit, must be forward declared, need not be defined. |