Template Function ADS::tree_from_list

Function Documentation

template<class T>
Tree<T> *ADS::tree_from_list(std::string_view s)

the tree of the parenthesized list s, its values read with >>; the caller owns it

Pre:

s is the list of a tree, and >> reads each atom whole (e.g., 8x is not an int)