Swap lhs and rhs when t_VARIANT is not allocator‐aware.
Synopsis
Declared in <bslstl_variant.h>
template<class t_VARIANT>
void
variant_swapImpl(
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
Name |
Description |
usesAllocator |
tag indicating |
lhs |
first variant to swap |
rhs |
second variant to swap |
Created with MrDocs