dune-common
2.3.1
|
A tuple consisting of two objects. More...
#include <dune/common/tuples.hh>
Public Types | |
typedef T1 | Type1 |
The type of the first field. More... | |
typedef TT | Type2 |
The type of the second field. More... | |
Public Member Functions | |
template<typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 > | |
Pair (typename TupleAccessTraits< T1 >::ParameterType t1, T2 &t2, T3 &t3, T4 &t4, T5 &t5, T6 &t6, T7 &t7, T8 &t8, T9 &t9) | |
The number of values we hold. More... | |
Pair (typename TupleAccessTraits< Type1 >::ParameterType t1, TT &t2) | |
Constructor. More... | |
Pair () | |
template<typename U1 , typename U2 > | |
Pair (const Pair< U1, U2 > &other) | |
Copy Constructor for implicit type conversion. More... | |
template<typename U1 , typename U2 > | |
Pair & | operator= (const Pair< U1, U2 > &other) |
Assignment operator for implicit type conversion. More... | |
Pair & | operator= (const Pair &other) |
TupleAccessTraits< Type1 > ::NonConstType | first () |
Get the first value. More... | |
TupleAccessTraits< Type1 > ::ConstType | first () const |
Get the first value. More... | |
TupleAccessTraits< Type2 > ::NonConstType | second () |
Get the second value. More... | |
TupleAccessTraits< Type2 > ::ConstType | second () const |
Get the second value. More... | |
template<typename U1 , typename U2 > | |
Pair< T1, T2 > & | operator= (const Pair< U1, U2 > &other) |
Public Attributes | |
Type1 | first_ |
The value of the first field. More... | |
Type2 | second_ |
The value of the second field. More... | |
A tuple consisting of two objects.
This is similar to std::pair
|
inline |
References Dune::Pair< T1, TT >::first_, and Dune::Pair< T1, TT >::second_.