memgraph/include/utils/visitor/visitable.hpp
2016-08-10 09:39:02 +01:00

9 lines
132 B
C++

#pragma once
template <class T>
struct Visitable
{
virtual ~Visitable() = default;
virtual void accept(T& visitor) = 0;
};