Dune::NullPointerInitialiser< Tuple > Class Template Reference

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

#include <dune/common/tupleutility.hh>

List of all members.

Public Types

typedef Tuple ResultType
 export the type of the tuples

Static Public Member Functions

static ResultType apply ()
 generate a zero-initialized tuple

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


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

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