marci@1097: #include <expression.h> marci@1097: #include <iostream> marci@1097: #include <string> marci@1097: marci@1097: using std::cout; marci@1097: using std::endl; marci@1097: using std::string; marci@1097: using namespace lemon; marci@1097: marci@1097: int main() { marci@1097: Expr<string, double> b; marci@1097: cout << b << endl; marci@1097: Expr<string, double> c("f"); marci@1097: cout << c << endl; marci@1097: Expr<string, double> d=8.0*string("g"); marci@1097: cout << d << endl; marci@1097: c*=5; marci@1097: cout << c << endl; marci@1097: Expr<string, double> e=c; marci@1097: e+=8.9*9.0*string("l"); marci@1097: cout << e << endl; marci@1097: cout << c+d << endl; marci@1097: }