Efficiently exchange the nodes in the specified a tree with the nodes in the specified b tree. This method provides the no-throw exception-safety guarantee. The behavior is undefined unless a and b are well-formed (see isWellFormed).
a
b
isWellFormed
Declared in <bslalg_rbtreeutil.h>
<bslalg_rbtreeutil.h>
static void swap( RbTreeAnchor* a, RbTreeAnchor* b);