dune-common
2.3.0
|
Helper template to prepend 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 prepended. |
Public Member Functions | |
dune_static_assert (AlwaysFalse< Tuple >::value,"Attempt to use the ""unspecialized version of PushFrontTuple. ""PushFrontTuple 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?") |
Helper template to prepend a type to a tuple.
Tuple | The tuple type to extend |
T | The type to be prepended to the tuple |
typedef Tuple Dune::PushFrontTuple< Tuple, T >::type |
For all specializations this is the type of a tuple with T prepended.
Suppose you have Tuple=tuple<T1, T2, ..., TN> then this type is tuple<T, T1, T2, ..., TN>.
Dune::PushFrontTuple< Tuple, T >::dune_static_assert | ( | AlwaysFalse< Tuple >::value | , |
"Attempt to use the ""unspecialized version of PushFrontTuple< Tuple, T >. ""PushFrontTuple< 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?" | |||
) |