summaryrefslogtreecommitdiff
path: root/impl/Expression.h
diff options
context:
space:
mode:
Diffstat (limited to 'impl/Expression.h')
-rw-r--r--impl/Expression.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/impl/Expression.h b/impl/Expression.h
new file mode 100644
index 0000000..105ad28
--- /dev/null
+++ b/impl/Expression.h
@@ -0,0 +1,12 @@
+#ifndef EXPRESSION_H
+#define EXPRESSION_H
+
+#include <string>
+#include <map>
+
+template<class T>
+struct Expression {
+ virtual T eval(const std::map<std::string, T>&) const = 0;
+};
+
+#endif