4 #warning The header dune/common/forloop.hh is deprecated. Use directly "Hybrid::forEach" and include dune/common/hybridutilities.hh. 6 #ifndef DUNE_COMMON_FORLOOP_HH 7 #define DUNE_COMMON_FORLOOP_HH 18 template<
template<
int >
class Operation,
int first,
int last >
21 static_assert( (first <= last),
"ForLoop: first > last" );
23 template<
typename... Args>
24 static void apply(Args&&... args)
33 #endif // #ifndef DUNE_COMMON_FORLOOP_HH constexpr void forEach(Range &&range, F &&f)
Range based for loop.
Definition: hybridutilities.hh:308
static void apply(Args &&... args)
Definition: forloop.hh:24
decltype(auto) apply(F &&f, ArgTuple &&args)
Apply function with arguments given as tuple.
Definition: apply.hh:58
Dune namespace.
Definition: alignedallocator.hh:9
#define DUNE_DEPRECATED_MSG(text)
Mark some entity as deprecated.
Definition: deprecated.hh:169
Definition: forloop.hh:19
Definition of the DUNE_DEPRECATED macro for the case that config.h is not available.