LocARNA-1.8.11
Public Member Functions | Public Attributes | List of all members
LocARNA::triple< T1, T2, T3 > Class Template Reference

Represents a 3-tuple. More...

#include <tuples.hh>

Inheritance diagram for LocARNA::triple< T1, T2, T3 >:
Inheritance graph
[legend]
Collaboration diagram for LocARNA::triple< T1, T2, T3 >:
Collaboration graph
[legend]

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: