1#ifndef DUNE_FEM_FORLOOP_HH
2#define DUNE_FEM_FORLOOP_HH
8#include <dune/common/hybridutilities.hh>
15 template<
template<
int >
class Operation,
int first,
int last >
18 static_assert( (first <= last),
"Fem::Fem::ForLoop: first > last" );
20 static const std::size_t N = last + 1 - first;
22 template<
typename... Args>
26 [&](
auto i){Operation<i+first>::apply(args...);});
Definition of the DUNE_NO_DEPRECATED_* macros.
constexpr void forEach(Range &&range, F &&f)
Range based for loop.
Definition: hybridutilities.hh:256
Dune namespace.
Definition: alignedallocator.hh:13
Definition of macros controlling symbol visibility at the ABI level.
#define DUNE_PRIVATE
Mark a symbol as being for internal use within the current DSO only.
Definition: visibility.hh:28