- Home
- About DUNE
- Download
- Documentation
- Community
- Development
#include <tuples.hh>
Inheritance diagram for Dune::Pair< T1, TT >:

This is similar to std::pair
Public Types | |
| typedef T1 | Type1 |
| The type of the first field. | |
| typedef TT | Type2 |
| The type of the second field. | |
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. Constructor. | |
| Pair (typename TupleAccessTraits< Type1 >::ParameterType t1, TT &t2) | |
| Constructor. | |
| template<typename U1, typename U2> | |
| Pair (const Pair< U1, U2 > &other) | |
| Copy Constructor for implicit type conversion. | |
| template<typename U1, typename U2> | |
| Pair & | operator= (const Pair< U1, U2 > &other) |
| Assignment operator for implicit type conversion. | |
| TupleAccessTraits< Type1 >::NonConstType | first () |
| Get the first value. | |
| TupleAccessTraits< Type1 >::ConstType | first () const |
| Get the first value. | |
| TupleAccessTraits< Type2 >::NonConstType | second () |
| Get the second value. | |
| TupleAccessTraits< Type2 >::ConstType | second () const |
| Get the second value. | |
Public Attributes | |
| Type1 | first_ |
| The value of the first field. | |
| Type2 | second_ |
| The value of the second field. | |