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

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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].