dune-common  2.2.0
Public Types | Static Public Member Functions
Dune::AddPtrTypeEvaluator< T > Struct Template Reference

TypeEvaluator to turn a type T into a pointer to T More...

#include <dune/common/tupleutility.hh>

List of all members.

Public Types

typedef remove_reference< T >
::type * 
Type

Static Public Member Functions

static Type apply (T &t)

Detailed Description

template<class T>
struct Dune::AddPtrTypeEvaluator< T >

TypeEvaluator to turn a type T into a pointer to T

This is suitable as the TypeEvaluator template parameter for ForEachType and transformTuple().


Member Typedef Documentation

template<class T >
typedef remove_reference<T>::type* Dune::AddPtrTypeEvaluator< T >::Type

Member Function Documentation

template<class T >
static Type Dune::AddPtrTypeEvaluator< T >::apply ( T &  t) [inline, static]

References t.


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