[#BloombergLP-bslstl-BidirectionalNodePool-swapExchangeAllocators]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/BidirectionalNodePool.adoc[BidirectionalNodePool]::swapExchangeAllocators
:relfileprefix: ../../../
:mrdocs:

Efficiently exchange the nodes and the allocator of this object with those of the specified `other` object&period; This method provides the no&hyphen;throw exception&hyphen;safety guarantee&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;bidirectionalnodepool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
swapExchangeAllocators(xref:BloombergLP/bslstl/BidirectionalNodePool.adoc[BidirectionalNodePool]& other);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
