dune-common
2.2.1
|
Helper template to clone the type definition of a tuple with the storage types replaced by a user-defined rule. More...
#include <dune/common/tupleutility.hh>
Public Types | |
typedef ImplementationDefined | Type |
type of the transformed tuple More... | |
Helper template to clone the type definition of a tuple with the storage types replaced by a user-defined rule.
Suppose all storage types A_i in a tuple define a type A_i::B. You can build up a pair consisting of the types defined by A_i::B in the following way:
Here, MyEvaluator is a helper struct that extracts the correct type from the storage types of the tuple defined by the tuple ATuple.
typedef ImplementationDefined Dune::ForEachType< TypeEvaluator, TupleType >::Type |
type of the transformed tuple