SyTen

◆ leaf()

template<typename T >
Ptr syten::BinaryTree::Tree< T >::leaf ( Index const  which) const
inline

Returns a pointer to the which-th leaf of the tree.

References syten::BinaryTree::Node< T >::a, syten::BinaryTree::Node< T >::b, and syten::BinaryTree::Tree< T >::visit_bottom().

Referenced by syten::BinaryTree::Tree< T >::first_nonfork(), syten::BinaryTree::Tree< T >::last_fork(), and syten::BinaryTree::Tree< T >::operator[]().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: