dune-common  2.3.1-rc1
Static Public Member Functions | List of all members
Dune::Element< N > Struct Template Reference

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. More...
 
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. More...
 

Detailed Description

template<int N>
struct Dune::Element< N >

Get the N-th element of a tuple.

Warning
This is an internal class. Do no use it directly!

The documentation for this struct was generated from the following file: