Dune::Element< N > Struct Template Reference
[Common]
#include <tuples.hh>
Detailed Description
template<int N>
struct Dune::Element< N >
Get the N-th element of a tuple.
Static Public Member Functions | |
template<typename T1, typename T2> | |
static TupleAccessTraits< typename ElementType< N, Pair< T1, T2 > >::Type >::NonConstType | get (Pair< T1, T2 > &tuple) |
Get the N-th element of the tuple. | |
template<typename T1, typename T2> | |
static TupleAccessTraits< typename ElementType< N, Pair< T1, T2 > >::Type >::ConstType | get (const Pair< T1, T2 > &tuple) |
Get the N-th element of the tuple. |
Member Function Documentation
template<int N>
template<typename T1, typename T2>
static TupleAccessTraits< typename ElementType<N,Pair<T1,T2> >::Type >::NonConstType Dune::Element< N >::get | ( | Pair< T1, T2 > & | tuple | ) | [inline, static] |
Get the N-th element of the tuple.
- Parameters:
-
tuple The tuple whose N-th element we want.
- Returns:
- The N-th element of the tuple.
The documentation for this struct was generated from the following file: