![]() |
mutable
A Database System for Research and Fast Prototyping
|
This helper class creates a single definition of virtual void operator()(...) for one subtype in a class hierarchy, and then recursively inherits from an instantiation of that same helper class for the next subtype in the hierarchy.
More...
#include <Visitor.hpp>
Public Types | |
| using | super = visitor_method_helper< ConcreteVisitor, Base, Classes... > |
| template<typename T > | |
| using | Const = typename super::template Const< T > |
Public Member Functions | |
| virtual void | operator() (Const< Class > &) |
This helper class creates a single definition of virtual void operator()(...) for one subtype in a class hierarchy, and then recursively inherits from an instantiation of that same helper class for the next subtype in the hierarchy.
Eventually, this class transitively inherits from
| ConcreteVisitor. |
Definition at line 59 of file Visitor.hpp.
| using m::detail::visitor_method_helper< ConcreteVisitor, Base, Class, Classes >::Const = typename super::template Const<T> |
Definition at line 62 of file Visitor.hpp.
| using m::detail::visitor_method_helper< ConcreteVisitor, Base, Class, Classes >::super = visitor_method_helper<ConcreteVisitor, Base, Classes...> |
Definition at line 61 of file Visitor.hpp.
|
inlinevirtual |
Definition at line 64 of file Visitor.hpp.