[#BloombergLP-bslstl-variant_swapImpl-0a9] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::variant_swapImpl :relfileprefix: ../../ :mrdocs: Swap `lhs` and `rhs` when `t_VARIANT` is not allocator‐aware. == Synopsis Declared in `<bslstl_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_VARIANT> void variant_swapImpl( xref:bsl/false_type.adoc[bsl::false_type] usesAllocator, t_VARIANT& lhs, t_VARIANT& rhs); ---- == Description 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. == Parameters [cols="1,4"] |=== | Name| Description | *usesAllocator* | tag indicating `t_VARIANT` is not allocator‐aware | *lhs* | first variant to swap | *rhs* | second variant to swap |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#