CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
visitablewith.h
Go to the documentation of this file.
1
2#ifndef VISITABLEWITH_H
3#define VISITABLEWITH_H
4
49template <class Visitor> struct VisitableWith {
50 virtual void visit(Visitor& visitor) = 0;
51
52 virtual ~VisitableWith() = default;
53};
54
55#endif
Definition visitor.h:41
Definition visitablewith.h:49
virtual ~VisitableWith()=default
virtual void visit(Visitor &visitor)=0