3 #ifndef DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH 4 #define DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH 7 #include <dune/common/concept.hh> 18 template<
class ST, ST begin, ST end>
21 template<
class F,
class...Args>
22 static void apply(F&& f, Args&&... args)
24 if (f(std::integral_constant<ST, begin>(), std::forward<Args>(args)...))
30 template<
class ST, ST end>
33 template<
class F,
class...Args>
34 static void apply(F&& f, Args&&...)
55 template<std::size_t begin_t, std::size_t end_t,
class F,
class... Args>
67 #endif //DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH static void apply(F &&f, Args &&... args)
Definition: staticforloop.hh:22
Definition: polynomial.hh:7
void staticFindInRange(F &&f, Args &&... args)
Static find loop.
Definition: staticforloop.hh:56
static void apply(F &&f, Args &&...)
Definition: staticforloop.hh:34
Definition: staticforloop.hh:19