TupleStorage< T1, T2, T3, T4 > Class Template Reference

#include <tuple.h>

Public Member Functions

 TupleStorage ()
 
template<typename A1 , typename A2 , typename A3 , typename A4 >
 TupleStorage (std::index_sequence< 0, 1, 2, 3 > *, A1 &&a1, A2 &&a2, A3 &&a3, A4 &&a4)
 

Static Public Member Functions

template<typename I >
static Int GetOffset (I *x)
 

Public Attributes

T1 first
 
T2 second
 
T3 third
 
T4 fourth
 

Static Public Attributes

static const Int COUNT
 

Protected Member Functions

T1 & GetMember (std::integral_constant< UInt32, 0 >::type *)
 
T2 & GetMember (std::integral_constant< UInt32, 1 >::type *)
 
T3 & GetMember (std::integral_constant< UInt32, 2 >::type *)
 
T4 & GetMember (std::integral_constant< UInt32, 3 >::type *)
 

Constructor & Destructor Documentation

◆ TupleStorage() [1/2]

◆ TupleStorage() [2/2]

TupleStorage ( std::index_sequence< 0, 1, 2, 3 > *  ,
A1 &&  a1,
A2 &&  a2,
A3 &&  a3,
A4 &&  a4 
)

Member Function Documentation

◆ GetOffset()

static Int GetOffset ( I *  x)
static

◆ GetMember() [1/4]

T1& GetMember ( std::integral_constant< UInt32, 0 >::type *  )
protected

◆ GetMember() [2/4]

T2& GetMember ( std::integral_constant< UInt32, 1 >::type *  )
protected

◆ GetMember() [3/4]

T3& GetMember ( std::integral_constant< UInt32, 2 >::type *  )
protected

◆ GetMember() [4/4]

T4& GetMember ( std::integral_constant< UInt32, 3 >::type *  )
protected

Member Data Documentation

◆ COUNT

const Int COUNT
static

◆ first

T1 first

◆ second

T2 second

◆ third

T3 third

◆ fourth

T4 fourth