LocARNA-1.9.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Public Attributes
LocARNA::triple< T1, T2, T3 > Class Template Reference

Represents a 3-tuple. More...

#include <tuples.hh>

Inheritance diagram for LocARNA::triple< T1, T2, T3 >:
LocARNA::quadruple< T1, T2, T3, T4 > LocARNA::quintuple< T1, T2, T3, T4, T5 >

List of all members.

Public Member Functions

 triple (const T1 &x1, const T2 &x2, const T3 &x3)

Public Attributes

T3 third
 third value

Detailed Description

template<class T1, class T2, class T3>
class LocARNA::triple< T1, T2, T3 >

Represents a 3-tuple.

triple stores three values first, second, third. extension of std::pair to 3-tuple


Constructor & Destructor Documentation

template<class T1 , class T2 , class T3 >
LocARNA::triple< T1, T2, T3 >::triple ( const T1 &  x1,
const T2 &  x2,
const T3 &  x3 
) [inline]

Construct from three values

Parameters:
x1value 1
x2value 2
x3value 3

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends