void someFunction (double x) { cout << makeProd(makeSum(Variable(x),Literal(2)),Literal(3)).eval() << endl; } End of Listing