[#bsl-swap-080] = xref:bsl.adoc[bsl]::swap :relfileprefix: ../ :mrdocs: Exchange the values of the specified `a` and `b` objects. == Synopsis Declared in `<bslstl_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap( xref:bsl/vector-00d.adoc[vector<void*>]& a, xref:bsl/vector-00d.adoc[vector<void*>]& b) noexcept(noexcept(a.d_impl.swap(b.d_impl))); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#