Original Post
I have used parse trees to implement the '*' operator for my templated container class. The problem is that the parse tree node is not converted back to a container class until the assignment occurs. So the following code causes an error:
int out = myFunc( container1 * container2 );
I am using visual studio 2005. The error code is: Quote:The method that I used to implement the parse tree was described in 'http://www.oonumerics.org/blitz/docs/', for those who are interested. Does anyone have any suggestions?
error C2784: 'T myFunc(const container &)' : could not deduce template argument for 'const container &' from 'parseTreeNode '