Dune Core Modules (2.6.0)

Dune::ReduceTuple< F, Tuple, Seed, N > Struct Template Reference

Apply reduce with meta binary function to template. More...

#include <dune/common/tupleutility.hh>

Public Types

typedef F< Accumulated, Value >::type type
 Result of the reduce operation.
 

Detailed Description

template<template< class, class > class F, class Tuple, class Seed = std::tuple<>, int N = std::tuple_size<Tuple>::value>
struct Dune::ReduceTuple< F, Tuple, Seed, N >

Apply reduce with meta binary function to template.

For a tuple<T0,T1,...,TN-1,TN,...> the exported result is

F< ... F< F< F<Seed,T0>::type, T1>::type, T2>::type, ... TN-1>::type

Template Parameters
FBinary meta function
TupleApply reduce operation to this std::tuple
SeedInitial value for reduce operation
NReduce the first N std::tuple elements

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)