[#BloombergLP-bslstl-HashTable_ComparatorWrapper-0e-swap] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable_ComparatorWrapper-0e.adoc[HashTable_ComparatorWrapper]::swap :relfileprefix: ../../../ :mrdocs: Exchange the wrapped comparator with that of `other`. == Synopsis Declared in `<bslstl_hashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap(xref:BloombergLP/bslstl/HashTable_ComparatorWrapper-0e.adoc[HashTable_ComparatorWrapper]& other); ---- == Description Exchange the value of this object with the specified `other` object. == Parameters [cols="1,4"] |=== | Name| Description | *other* | comparator wrapper to swap with this object |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#