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