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