summaryrefslogtreecommitdiff
path: root/impl/Operator.h
blob: e83d49526c8518490b7bc62aae5a6258305fc694 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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