previous overloads
Synopses
Declared in <bslalg_rbtreeutil.h>
Return the modifiable node that precedes the specified node.
static
RbTreeNode*
previous(RbTreeNode* node);
Return the address of the node that precedes the specified node in an in‐order traversal of the binary tree to which node belongs, or the tree's rightmost node if node is the sentinel node of the tree. The behavior is undefined unless or node is a non‐leftmost member of a valid binary tree or is a sentinel node. Note that if the tree does not contain duplicate values, then the returned node will have the largest value less than that of node.
static
RbTreeNode const*
previous(RbTreeNode const* node);
Created with MrDocs