SyTen

◆ first_nonfork()

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

Returns a pointer to the first non-forking node in the non-forking branch that leads to leaf (i.e. one step further towards leaf than last_fork(leaf)

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

Referenced by syten::BinaryTree::Tree< T >::operator[]().

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