[#BloombergLP-bdlbb-swap-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::swap :relfileprefix: ../../ :mrdocs: `swap` overloads == Synopses Declared in `<bdlbb_blob.h>` 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlbb/swap-04.adoc[swap]( xref:BloombergLP/bdlbb/Blob.adoc[Blob]& a, xref:BloombergLP/bdlbb/Blob.adoc[Blob]& b); ---- [.small]#xref:BloombergLP/bdlbb/swap-04.adoc[_» more..._]# Efficiently exchange the values of the specified `a` and `b` objects. This method provides the no‐throw exception‐safety guarantee. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlbb/swap-0d.adoc[swap]( xref:BloombergLP/bdlbb/BlobBuffer.adoc[BlobBuffer]& a, xref:BloombergLP/bdlbb/BlobBuffer.adoc[BlobBuffer]& b); ---- [.small]#xref:BloombergLP/bdlbb/swap-0d.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#