[#BloombergLP-bdlc-swap-060] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::swap :relfileprefix: ../../ :mrdocs: Exchange the contents of the two sets. == Synopsis Declared in `<bdlc_flathashset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap( xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet<K, H, E>]& a, xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet<K, H, E>]& b); ---- == Parameters [cols="1,4"] |=== | Name| Description | *a* | first set to exchange | *b* | second set to exchange |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#