Get the N-th element of a tuple. More...
#include <dune/common/tuples.hh>
Static Public Member Functions | |
template<typename T1 , typename T2 > | |
static TupleAccessTraits < typename tuple_element< 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 tuple_element< N, Pair< T1, T2 > >::type > ::ConstType | get (const Pair< T1, T2 > &tuple) |
Get the N-th element of the tuple. |
Get the N-th element of a tuple.
static TupleAccessTraits< typename tuple_element<N,Pair<T1,T2> >::type >::NonConstType Dune::Element< N >::get | ( | Pair< T1, T2 > & | tuple | ) | [inline, static] |
Get the N-th element of the tuple.
tuple | The tuple whose N-th element we want. |
Referenced by Dune::get(), and Dune::Element< N >::get().