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.
template<class t_VARIANT>
void
variant_swapImpl(
bsl::false_type,
t_VARIANT& lhs,
t_VARIANT& rhs);
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.
template<class t_VARIANT>
void
variant_swapImpl(
bsl::true_type,
t_VARIANT& lhs,
t_VARIANT& rhs);
Created with MrDocs