memgraph/utils/visitor/visitable.hpp
2015-12-07 21:51:55 +01:00

9 lines
132 B
C++

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