[#BloombergLP-bslstl-variant_swapImpl-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::variant_swapImpl :relfileprefix: ../../ :mrdocs: This component‐private function swaps the values of the specified `lhs` and `rhs` when the type (template parameter) `t_VARIANT` is an allocator‐aware variant. == Synopsis Declared in `<bslstl_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_VARIANT> void variant_swapImpl( xref:bsl/true_type.adoc[bsl::true_type], t_VARIANT& lhs, t_VARIANT& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#