Givaro
Public Member Functions | Data Fields
Pair< T1, T2 > Struct Template Reference

Pair. More...

#include <givelem.h>

Public Member Functions

 Pair ()
 
 Pair (const T1 &v1, const T2 &v2)
 
T1 & first ()
 
const T1 & first () const
 
T2 & second ()
 
const T2 & second () const
 

Data Fields

T1 _val1
 
T2 _val2
 

Detailed Description

template<class T1, class T2>
struct Givaro::Pair< T1, T2 >

Pair.

Constructor & Destructor Documentation

◆ Pair() [1/2]

Pair ( )
inline

◆ Pair() [2/2]

Pair ( const T1 &  v1,
const T2 &  v2 
)
inline

Member Function Documentation

◆ first() [1/2]

T1& first ( )
inline

◆ first() [2/2]

const T1& first ( ) const
inline

◆ second() [1/2]

T2& second ( )
inline

◆ second() [2/2]

const T2& second ( ) const
inline

Field Documentation

◆ _val1

T1 _val1

◆ _val2

T2 _val2

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