ambiguity of the print function
ilfreddy opened this issue · 0 comments
ilfreddy commented
The print
function of FunctionTree
is inherited both from RepresentableFunction
and by MWTree
which results in ambiguity when you do std::cout << tree << std::endl
.
A possible solution (@stigrj is too polite to say he does not like it ;-) ) is to create a print function in FunctionTree
and let that one call the corresponding print statements from both RepresentableFunction
and MWTree
, if it is possible to disambiguate between them.