dune-common 2.1.1
Static Public Member Functions
Dune::At< N > Struct Template Reference

Reverse element access. More...

#include <dune/common/tupleutility.hh>

List of all members.

Static Public Member Functions

template<typename Tuple >
static TupleAccessTraits
< typename AtType< N, Tuple >
::Type >::NonConstType 
get (Tuple &t)
template<typename Tuple >
static TupleAccessTraits
< typename AtType< N, Tuple >
::Type >::ConstType 
get (const Tuple &t)

Detailed Description

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

Reverse element access.

While Element<...> gives you the arguments beginning at the front of a tuple, At<...> starts at the end, which may be more convenient, depending on how you built your tuple.


Member Function Documentation

template<int N>
template<typename Tuple >
static TupleAccessTraits<typename AtType<N, Tuple>::Type>::NonConstType Dune::At< N >::get ( Tuple &  t) [inline, static]

References t.

template<int N>
template<typename Tuple >
static TupleAccessTraits<typename AtType<N, Tuple>::Type>::ConstType Dune::At< N >::get ( const Tuple &  t) [inline, static]

References t.


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