The Pedigree Project 0.1
Public Member Functions | Private Attributes | List of all members
Pair< T1, T2 > Class Template Reference
+ Collaboration diagram for Pair< T1, T2 >:

Public Member Functions

 Pair (const T1 &a, const T2 &b)
 
const T1 & first () const
 
const T2 & second () const
 

Private Attributes

T1 m_First
 
T2 m_Second
 

Detailed Description

template<class T1, class T2>
class Pair< T1, T2 >

Definition at line 30 of file Pair.h.

Constructor & Destructor Documentation

◆ Pair() [1/2]

template<class T1 , class T2 >
Pair< T1, T2 >::Pair ( )
inline

Definition at line 32 of file Pair.h.

◆ Pair() [2/2]

template<class T1 , class T2 >
Pair< T1, T2 >::Pair ( const T1 &  a,
const T2 &  b 
)
inline

Definition at line 33 of file Pair.h.

Member Function Documentation

◆ first()

template<class T1 , class T2 >
const T1 & Pair< T1, T2 >::first ( ) const
inline

Definition at line 38 of file Pair.h.

◆ second()

template<class T1 , class T2 >
const T2 & Pair< T1, T2 >::second ( ) const
inline

Definition at line 42 of file Pair.h.

Member Data Documentation

◆ m_First

template<class T1 , class T2 >
T1 Pair< T1, T2 >::m_First
private

Definition at line 47 of file Pair.h.

◆ m_Second

template<class T1 , class T2 >
T2 Pair< T1, T2 >::m_Second
private

Definition at line 48 of file Pair.h.


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