class Function : public Expression
{
public:
.
.
private:
list<Arguments> list;
};
Function class has some methods and a list of Args.
On main i make an Function object and i put some arguments on it.
Then i put the Function in a Exression list.When i get an expression
from the list i try to call a method that is defined in the Function object
but i can not do that because it can not see the methods of Function class.
Any ideas?