Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::TupleOfThree< T1, T2, T3 > Struct Template Reference

Struct that contains 3 elements. More...

#include <CopyableTuple.h>

Public Member Functions

 TupleOfThree ()
 empty constructor More...
 
 TupleOfThree (T1 one, T2 two, T3 three)
 Constructor that initializes 3 fields. More...
 

Public Attributes

T1 first
 first element More...
 
T2 second
 second element More...
 
T3 third
 third element More...
 

Detailed Description

template<typename T1, typename T2, typename T3>
struct galois::TupleOfThree< T1, T2, T3 >

Struct that contains 3 elements.

Used over std::tuple as std::tuple memory layout isn't guaranteed.

Template Parameters
T1type of first element
T2type of second element
T3type of third element

Constructor & Destructor Documentation

template<typename T1, typename T2, typename T3>
galois::TupleOfThree< T1, T2, T3 >::TupleOfThree ( )
inline

empty constructor

template<typename T1, typename T2, typename T3>
galois::TupleOfThree< T1, T2, T3 >::TupleOfThree ( T1  one,
T2  two,
T3  three 
)
inline

Constructor that initializes 3 fields.

Member Data Documentation

template<typename T1, typename T2, typename T3>
T1 galois::TupleOfThree< T1, T2, T3 >::first

first element

template<typename T1, typename T2, typename T3>
T2 galois::TupleOfThree< T1, T2, T3 >::second

second element

template<typename T1, typename T2, typename T3>
T3 galois::TupleOfThree< T1, T2, T3 >::third

third element


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