Update documentation for RBTREE _remove

This commit is contained in:
Patrick Pelissier committed 2021-10-10 20:36:02 +02:00
1 parent 44801b8b91
commit 5057366fb2
1 file changed
+5
+5
View File
@@ -3075,6 +3075,11 @@ or if it references no longer a valid element, false otherwise.
Return true if 'it' references an element that is lower or equal than 'data'. Return true if 'it' references an element that is lower or equal than 'data'.
Otherwise (or if it references no longer a valid element) it returns false. Otherwise (or if it references no longer a valid element) it returns false.
##### void name\_it\_remove(name\_t rbtree, name\_it\_t it)
Remove the element pointed by 'it' from the tree 'rbtree' and update 'it' to point to the next element.
All other iterators to the tree became invalid.
##### void name\_next(name\_it\_t it) ##### void name\_next(name\_it\_t it)
Update the iterator 'it' to the next element. Update the iterator 'it' to the next element.