[#BloombergLP-bdlbb-swap-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::swap :relfileprefix: ../../ :mrdocs: Efficiently exchange the values of the specified `a` and `b` objects. This method provides the no‐throw exception‐safety guarantee if both objects were created with the same allocator. == Synopsis Declared in `<bdlbb_blob.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap( xref:BloombergLP/bdlbb/Blob.adoc[Blob]& a, xref:BloombergLP/bdlbb/Blob.adoc[Blob]& b); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#