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