This struct provides a namespace for a suite of utility functions that operate on elements of type RbTreeNode.
Synopsis
Declared in <bslalg_rbtreeutil.h>
struct RbTreeUtil;
Description
Each method of this class, other than copyTree, provides the no‐throw exception guarantee if the client‐supplied comparator provides the no‐throw guarantee, and provides the strong guarantee otherwise (see bsldoc_glossary). copyTree provides the strong guarantee.
Static Member Functions
Name |
Description |
Copy |
|
Destroy every node in |
|
|
|
|
|
|
|
Insert |
|
Insert |
|
Return whether |
|
Return whether |
|
Return whether |
|
Return the address of the leftmost node in the specified |
|
|
|
Move nodes from |
|
Return the in‐order successor of the specified |
|
Return the in‐order predecessor of the specified |
|
Write a human‐readable description of |
|
Remove |
|
|
|
Rotate |
|
Rotate |
|
Exchange the nodes of the specified |
|
Return the first node ordered after |
|
|
Created with MrDocs