Dune Core Modules (2.3.1)
Dune::Pair< T1, TT > Struct Template Reference
A tuple consisting of two objects. More...
#include <dune/common/tuples.hh>
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) | |
| Constructor. More... | |
| Pair (typename TupleAccessTraits< Type1 >::ParameterType t1, TT &t2) | |
| Constructor. More... | |
| 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... | |
| 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... | |
Public Attributes | |
| Type1 | first_ |
| The value of the first field. | |
| Type2 | second_ |
| The value of the second field. | |
Detailed Description
template<typename T1, typename TT>
struct Dune::Pair< T1, TT >
struct Dune::Pair< T1, TT >
A tuple consisting of two objects.
This is similar to std::pair
The documentation for this struct was generated from the following file:
- dune/common/tuples.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Mar 16, 23:38, 2026)