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