3#ifndef DUNE_AMG_COMBINEDFUNCTOR_HH
4#define DUNE_AMG_COMBINEDFUNCTOR_HH
15 template<std::
size_t i>
18 template<
class TT,
class T>
19 static void apply(TT tuple,
const T& t)
21 std::get<i-1>(tuple) (t);
28 template<
class TT,
class T>
29 static void apply(TT tuple,
const T& t)
37 class CombinedFunctor :
41 CombinedFunctor(
const T& tuple)
46 void operator()(
const T1& t)
48 ApplyHelper<std::tuple_size<T>::value>
::apply(*
this, t);
decltype(auto) apply(F &&f, ArgTuple &&args)
Apply function with arguments given as tuple.
Definition: apply.hh:58
#define DUNE_UNUSED_PARAMETER(parm)
A macro to mark intentionally unused function parameters with.
Definition: unused.hh:25
Dune namespace.
Definition: alignedallocator.hh:10
Definition of the DUNE_UNUSED macro for the case that config.h is not available.