Dune Core Modules (2.4.1)
Dune::ForEachType< TypeEvaluator, TupleType > Class Template Reference
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 | |
Detailed Description
template<template< class > class TypeEvaluator, class TupleType>
class Dune::ForEachType< TypeEvaluator, TupleType >
class Dune::ForEachType< TypeEvaluator, TupleType >
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:
template <class A>
struct MyEvaluator {
};
typedef ForEachType<MyEvaluator, ATuple>::Type BTuple;
ImplementationDefined Type
type of the transformed tuple
Definition: tupleutility.hh:207
Here, MyEvaluator is a helper struct that extracts the correct type from the storage types of the tuple defined by the tuple ATuple.
The documentation for this class was generated from the following file:
- dune/common/tupleutility.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)