dune-common  2.4.1
Public Types | Static Public Member Functions | List of all members
Dune::NullPointerInitialiser< Tuple > Class Template Reference

A helper template that initializes a tuple consisting of pointers to NULL. More...

#include <dune/common/tupleutility.hh>

Public Types

typedef Tuple ResultType
 export the type of the tuples More...
 

Static Public Member Functions

static ResultType apply ()
 generate a zero-initialized tuple More...
 

Detailed Description

template<class Tuple>
class Dune::NullPointerInitialiser< Tuple >

A helper template that initializes a tuple consisting of pointers to NULL.

A tuple of NULL pointers may be useful when you use a tuple of pointers in a class which you can only initialise in a later stage.

Member Typedef Documentation

template<class Tuple >
typedef Tuple Dune::NullPointerInitialiser< Tuple >::ResultType

export the type of the tuples

Member Function Documentation

template<class Tuple >
static ResultType Dune::NullPointerInitialiser< Tuple >::apply ( )
static

generate a zero-initialized tuple

Referenced by Dune::PointerPairDeletor< Tuple >::apply().


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