Function ADS::toPostfix

Function Documentation

std::string ADS::toPostfix(std::string_view e)

the postfix form of the infix expression e, with the usual precedences and the associativity to the left, its tokens separated by one space

Pre:

the parentheses of e are balanced