| 107 | } |
| 108 | |
| 109 | iterator begin() |
| 110 | { |
| 111 | Node<T>* n = root; |
| 112 | |
| 113 | if (n) |
| 114 | while (n->left) |
| 115 | n = n->left; |
| 116 | return iterator{ n }; |
| 117 | } |
| 118 | |
| 119 | // expose as a traversal object |
| 120 | // todo: make this inorder |
no outgoing calls
no test coverage detected