Dune Core Modules (2.5.0)
tupleutility.hh File Reference
Contains utility classes which can be used with std::tuple. More...
#include <cstddef>#include <tuple>#include <type_traits>#include <dune/common/hybridutilities.hh>#include <dune/common/std/type_traits.hh>#include <dune/common/std/utility.hh>Go to the source code of this file.
Classes | |
| class | Dune::TransformTupleFunctor< TE, Args > |
| struct | Dune::AddRefTypeEvaluator< T > |
TypeEvaluator to turn a type T into a reference to T More... | |
| struct | Dune::AddPtrTypeEvaluator< T > |
TypeEvaluator to turn a type T into a pointer to T More... | |
| class | Dune::ForEachValue< Tuple > |
| Helper template which implements iteration over all storage elements in a std::tuple. More... | |
| class | Dune::ForEachValuePair< Tuple1, Tuple2 > |
| Extension of ForEachValue to two std::tuple's. More... | |
| struct | Dune::AtType< N, Tuple > |
| Type for reverse element access. More... | |
| struct | Dune::At< N > |
| Reverse element access. More... | |
| struct | Dune::PointerPairDeletor< Tuple > |
| Deletes all objects pointed to in a std::tuple of pointers. More... | |
| class | Dune::FirstPredicateIndex< Tuple, Predicate, start, size > |
| Finding the index of a certain type in a std::tuple. More... | |
| struct | Dune::IsType< T > |
| Generator for predicates accepting one particular type. More... | |
| struct | Dune::IsType< T >::Predicate< U > |
| The actual predicate. More... | |
| struct | Dune::FirstTypeIndex< Tuple, T, start > |
| Find the first occurrence of a type in a std::tuple. More... | |
| struct | Dune::ReduceTuple< F, Tuple, Seed, N > |
| Apply reduce with meta binary function to template. More... | |
| struct | Dune::ReduceTuple< F, Tuple, Seed, 0 > |
| Apply reduce with meta binary function to template. More... | |
| struct | Dune::JoinTuples< Head, Tail > |
| Join two std::tuple's. More... | |
| struct | Dune::FlattenTuple< Tuple > |
| Flatten a std::tuple of std::tuple's. More... | |
Namespaces | |
| namespace | Dune |
| Dune namespace. | |
Functions | |
| template<class Tuple , class Functor > | |
| auto | Dune::genericTransformTuple (Tuple &&t, Functor &&f) -> decltype(genericTransformTupleBackend(t, f)) |
| template<template< class > class TypeEvaluator, class Tuple , class... Args> | |
| auto | Dune::transformTuple (Tuple &&orig, Args &&... args) -> decltype(genericTransformTuple(orig, makeTransformTupleFunctor< TypeEvaluator >(args...))) |
Detailed Description
Contains utility classes which can be used with std::tuple.
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Nov 4, 23:40, 2025)