[#BloombergLP-bdljsn-swap-033] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::swap :relfileprefix: ../../ :mrdocs: Exchange the values of the specified `a` and `b` objects. This function provides the no‐throw exception‐safety guarantee. == Synopsis Declared in `<bdljsn_location.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap( xref:BloombergLP/bdljsn/Location.adoc[Location]& a, xref:BloombergLP/bdljsn/Location.adoc[Location]& b); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#