Visitor base class. More...
#include <variable_info_private.hpp>
Public Types | |
using | result_t = R |
using | param_t = P & |
Visitor base class.
This provides the interface for the main functions each visitor can implement. The default implementation of each function simply throws invalid_variablename_exception.
This class also provides two type aliases corresponding to the function return value and argument types. Note that visitors shouldn't inherit from this directly and instead use the info_visitor and info_visitor_const wrappers, since both fully specify the parameter type.
R | Return value type. |
P | Argument type. |
Definition at line 87 of file variable_info_private.hpp.
using variable_info_implementation::info_visitor_base< R, P >::param_t = P& |
Definition at line 91 of file variable_info_private.hpp.
using variable_info_implementation::info_visitor_base< R, P >::result_t = R |
Definition at line 90 of file variable_info_private.hpp.