Template Function ADS::from_list

Function Documentation

template<class T>
BinaryTree<T> *ADS::from_list(std::string_view s)

the binary tree of the parenthesized list s, nil for (); the caller owns it

Pre:

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