Function ADS::evalPostfix

Function Documentation

long ADS::evalPostfix(std::string_view e)

the value of the postfix expression e

Pre:

e is a well formed postfix expression with no division by 0 and no operation whose result is out of a long