#include <tuple.h>
Public Types | |
using | FirstType = T1 |
using | SecondType = T2 |
using | KeyType = T1 |
using | ValueType = T2 |
Public Member Functions | |
TupleStorage () | |
template<typename A1 , typename A2 > | |
TupleStorage (std::index_sequence< 0, 1 > *, A1 &&a1, A2 &&a2) | |
T1 & | GetFirst () |
const T1 & | GetFirst () const |
T2 & | GetSecond () |
const T2 & | GetSecond () const |
const T1 & | GetKey () const |
T2 & | GetValue () |
const T2 & | GetValue () const |
Static Public Member Functions | |
template<typename I > | |
static Int | GetOffset (I *x) |
Public Attributes | |
T1 | first |
T2 | second |
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 *) |
using FirstType = T1 |
using SecondType = T2 |
using KeyType = T1 |
using ValueType = T2 |
TupleStorage | ( | ) |
TupleStorage | ( | std::index_sequence< 0, 1 > * | , |
A1 && | a1, | ||
A2 && | a2 | ||
) |
T1& GetFirst | ( | ) |
Returns the first element of this tuple.
const T1& GetFirst | ( | ) | const |
T2& GetSecond | ( | ) |
Returns the second element of this tuple.
const T2& GetSecond | ( | ) | const |
const T1& GetKey | ( | ) | const |
Returns the first element of this tuple (map compatibility).
T2& GetValue | ( | ) |
Returns the second element of this tuple (map compatibility).
const T2& GetValue | ( | ) | const |
|
static |
|
static |
T1 first |
T2 second |