#include <tuple.h>
Public Types | |
using | FirstType = T1 |
using | SecondType = UnitType |
using | KeyType = T1 |
using | ValueType = UnitType |
Public Member Functions | |
constexpr | TupleStorage () |
template<typename A1 , typename A2 > | |
constexpr | TupleStorage (std::index_sequence< 0, 1 > *, A1 &&a1, A2 &&a2) |
T1 & | GetFirst () |
const T1 & | GetFirst () const |
UnitType & | GetSecond () |
const UnitType & | GetSecond () const |
const T1 & | GetKey () const |
UnitType & | GetValue () |
const UnitType & | GetValue () const |
Static Public Member Functions | |
static Int | GetOffset (typename std::integral_constant< UInt32, 0 >::type *) |
static Int | GetOffset (typename std::integral_constant< UInt32, 1 >::type *) |
Public Attributes | |
T1 | first |
Static Public Attributes | |
static const Int | COUNT |
Protected Member Functions | |
T1 & | GetMember (std::integral_constant< UInt32, 0 >::type *) |
UnitType & | GetMember (std::integral_constant< UInt32, 1 >::type *) |
using FirstType = T1 |
using SecondType = UnitType |
using KeyType = T1 |
|
constexpr |
|
constexpr |
T1& GetFirst | ( | ) |
Returns the first element of this tuple.
const T1& GetFirst | ( | ) | const |
UnitType& GetSecond | ( | ) |
Returns the second element of this tuple.
const UnitType& GetSecond | ( | ) | const |
const T1& GetKey | ( | ) | const |
Returns the first element of this tuple (map compatibility).
UnitType& GetValue | ( | ) |
Returns the second element of this tuple (map compatibility).
const UnitType& GetValue | ( | ) | const |
|
static |
T1 first |