dune-common 2.1.1
|
Get the first element of a tuple. More...
#include <dune/common/tuples.hh>
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. |
Get the first element of a tuple.
static TupleAccessTraits<T1>::NonConstType Dune::Element< 0 >::get | ( | Pair< T1, T2 > & | tuple | ) | [inline, static] |
Get the first element of the tuple.
tuple | The tuple whose first element we want. |
References Dune::Pair< T1, TT >::first().