dune-common  2.3.1
Public Types | Public Member Functions | List of all members
Dune::PushBackTuple< Tuple, T > Struct Template Reference

Helper template to append a type to a tuple. More...

#include <dune/common/tupleutility.hh>

Public Types

typedef Tuple type
 For all specializations this is the type of a tuple with T appended.

Public Member Functions

 dune_static_assert (AlwaysFalse< Tuple >::value,"Attempt to use the ""unspecialized version of PushBackTuple. ""PushBackTuple needs to be specialized for ""each possible tuple size. Naturally the number of ""pre-defined specializations is limited arbitrarily. ""Maybe you need to raise this limit by defining some ""more specializations?")

Detailed Description

template<class Tuple, class T>
struct Dune::PushBackTuple< Tuple, T >

Helper template to append a type to a tuple.

Template Parameters
TupleThe tuple type to extend
TThe type to be appended to the tuple

Member Typedef Documentation

template<class Tuple, class T >
typedef Tuple Dune::PushBackTuple< Tuple, T >::type

For all specializations this is the type of a tuple with T appended.

Suppose you have Tuple=tuple<T1, T2, ..., TN> then this type is tuple<T1, T2, ..., TN, T>.

Member Function Documentation

template<class Tuple, class T >
Dune::PushBackTuple< Tuple, T >::dune_static_assert ( AlwaysFalse< Tuple >::value  ,
"Attempt to use the ""unspecialized version of PushBackTuple< Tuple, T >. ""PushBackTuple< Tuple, T > needs to be specialized for ""each possible tuple size. Naturally the number of ""pre-defined specializations is limited arbitrarily. ""Maybe you need to raise this limit by defining some ""more specializations?"   
)

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