SPH
Public Member Functions | Public Attributes | List of all members
VariantHelpers::Swap< TArgs > Struct Template Reference

Swaps content of two variants. More...

#include <Variant.h>

Public Member Functions

template<typename T , typename TOther >
void visit (TOther &&other)
 

Public Attributes

AlignedUnion< TArgs... > & storage
 

Detailed Description

template<typename... TArgs>
struct VariantHelpers::Swap< TArgs >

Swaps content of two variants.

Definition at line 130 of file Variant.h.

Member Function Documentation

◆ visit()

template<typename... TArgs>
template<typename T , typename TOther >
void VariantHelpers::Swap< TArgs >::visit ( TOther &&  other)
inline

Definition at line 134 of file Variant.h.

Member Data Documentation

◆ storage

template<typename... TArgs>
AlignedUnion<TArgs...>& VariantHelpers::Swap< TArgs >::storage

Definition at line 131 of file Variant.h.


The documentation for this struct was generated from the following file: