![]() |
mutable
A Database System for Research and Fast Prototyping
|
This helper class creates a single override of 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 = stl_visit_helper< Callable, ResultType, Visitor, Classes... > |
Public Member Functions | |
stl_visit_helper (Callable &callable, std::optional< some< ResultType > > &result) | |
void | operator() (typename Visitor::template Const< Class > &obj) override |
This helper class creates a single override of 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.
This enables overriding all visit methods of
Visitor. |
Definition at line 91 of file Visitor.hpp.
using m::detail::stl_visit_helper< Callable, ResultType, Visitor, Class, Classes >::super = stl_visit_helper<Callable, ResultType, Visitor, Classes...> |
Definition at line 93 of file Visitor.hpp.
|
inline |
Definition at line 95 of file Visitor.hpp.
|
inlineoverride |
Definition at line 98 of file Visitor.hpp.