Dune::At< N > Struct Template Reference
[Tuple Utilities]

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 std::tuple, At<...> starts at the end, which may be more convenient, depending on how you built your std::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]

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 25 Mar 2018 for dune-common by  doxygen 1.6.1