[#BloombergLP-bslalg-HashTableAnchor-swap] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/HashTableAnchor.adoc[HashTableAnchor]::swap :relfileprefix: ../../../ :mrdocs: Efficiently exchange the value of this object with the value of the specified `other` object. This method provides the no‐throw exception‐safety guarantee. == Synopsis Declared in `<bslalg_hashtableanchor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap(xref:BloombergLP/bslalg/HashTableAnchor.adoc[HashTableAnchor]& other); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#