[#BloombergLP-balst-swap-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::swap :relfileprefix: ../../ :mrdocs: Exchange the values of the specified `a` and `b` objects. This function provides the no‐throw exception‐safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise. == Synopses Declared in `<balst_stacktrace.h>` Exchange the values of the specified `a` and `b` objects. This function provides the no‐throw exception‐safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/balst/swap-033.adoc[swap]( xref:BloombergLP/balst/StackTrace.adoc[StackTrace]& a, xref:BloombergLP/balst/StackTrace.adoc[StackTrace]& b); ---- [.small]#xref:BloombergLP/balst/swap-033.adoc[_» more..._]# Exchange the values of the specified `a` and `b` objects. This function provides the no‐throw exception‐safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/balst/swap-034.adoc[swap]( xref:BloombergLP/balst/StackTraceFrame.adoc[StackTraceFrame]& a, xref:BloombergLP/balst/StackTraceFrame.adoc[StackTraceFrame]& b); ---- [.small]#xref:BloombergLP/balst/swap-034.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#