[#BloombergLP-bslstl-TreeNodePool-swapExchangeAllocators] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/TreeNodePool.adoc[TreeNodePool]::swapExchangeAllocators :relfileprefix: ../../../ :mrdocs: Efficiently exchange the nodes and allocator of this object with those of the specified `other` object. This method provides the no‐throw exception‐safety guarantee, _unless_ swapping the (user‐supplied) allocator objects can throw. == Synopsis Declared in `<bslstl_treenodepool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swapExchangeAllocators(xref:BloombergLP/bslstl/TreeNodePool.adoc[TreeNodePool]& other); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#