|
dune-common 2.8.0
|
Loading...
Searching...
No Matches
tupleutility.hh
Go to the documentation of this file.
124 inline auto genericTransformTupleBackendImpl(Tuple& t, Functor& f, const std::index_sequence<I...>& )
Traits for type conversions and type information.
std::add_const< T >::type & ConstType
Definition tupleutility.hh:48
static void apply(std::tuple< Ts... > &t)
Definition tupleutility.hh:380
auto transformTuple(Tuple &&orig, Args &&... args) -> decltype(genericTransformTuple(orig, makeTransformTupleFunctor< TypeEvaluator >(args...)))
Definition tupleutility.hh:290
ReduceTuple< F, Tuple, Seed, N-1 >::type Accumulated
Definition tupleutility.hh:516
Seed type
Result of the reduce operation.
Definition tupleutility.hh:540
std::remove_reference< T >::type * Type
Definition tupleutility.hh:319
static ResultType apply()
Definition tupleutility.hh:83
std::tuple< Args... > ResultType
Definition tupleutility.hh:82
std::remove_reference< T >::type * Type
Definition tupleutility.hh:330
TransformTupleFunctor(Args &&... args)
Definition tupleutility.hh:239
std::tuple_element< std::tuple_size< Tuple >::value-N-1, Tuple >::type Type
Definition tupleutility.hh:345
auto operator()(T &&t) -> decltype(this->apply(t, std::index_sequence_for< Args... >{})) const
Definition tupleutility.hh:244
static TupleAccessTraits< typenameAtType< N, Tuple >::Type >::ConstType get(const Tuple &t)
Definition tupleutility.hh:367
static TupleAccessTraits< typenameAtType< N, Tuple >::Type >::NonConstType get(Tuple &t)
Definition tupleutility.hh:360
std::tuple< Args..., T > type
Definition tupleutility.hh:479
std::tuple< T, Args... > type
Definition tupleutility.hh:494
ReduceTuple< JoinTuples, Tuple >::type type
Result of the flatten operation.
Definition tupleutility.hh:571
F< Accumulated, Value >::type type
Result of the reduce operation.
Definition tupleutility.hh:520
ReduceTuple< PushBackTuple, Tail, Head >::type type
Result of the join operation.
Definition tupleutility.hh:556
std::tuple< typename TE< Args >::Type... > Type
Definition tupleutility.hh:119
auto genericTransformTuple(Tuple &&t, Functor &&f) -> decltype(genericTransformTupleBackend(t, f))
Definition tupleutility.hh:184
decltype(auto) applyPartial(F &&f, ArgTuple &&args, std::integer_sequence< I, i... >)
Apply function with arguments from a given tuple.
Definition tupleutility.hh:40
const std::remove_const< T >::type & ParameterType
Definition tupleutility.hh:50
std::add_const< T >::type * ConstType
Definition tupleutility.hh:56
TransformTupleFunctor< TE, Args... > makeTransformTupleFunctor(Args &&... args)
Definition tupleutility.hh:252
constexpr void forEach(Range &&range, F &&f)
Range based for loop.
Definition hybridutilities.hh:266
STL namespace.
Definition tupleutility.hh:47
A helper template that initializes a std::tuple consisting of pointers to nullptr.
Definition tupleutility.hh:77
Helper template to clone the type definition of a std::tuple with the storage types replaced by a use...
Definition tupleutility.hh:114
Definition tupleutility.hh:224
Definition tupleutility.hh:237
TypeEvaluator to turn a type T into a reference to T
Definition tupleutility.hh:303
TypeEvaluator to turn a type T into a pointer to T
Definition tupleutility.hh:318
Deletes all objects pointed to in a std::tuple of pointers.
Definition tupleutility.hh:378
Finding the index of a certain type in a std::tuple.
Definition tupleutility.hh:416
Find the first occurrence of a type in a std::tuple.
Definition tupleutility.hh:465
Helper template to prepend a type to a std::tuple.
Definition tupleutility.hh:489
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8