6 #ifndef DUNE_COMMON_FILLED_ARRAY_HH 7 #define DUNE_COMMON_FILLED_ARRAY_HH 32 template<std::
size_t n,
class T>
36 return std::array<T, n>{((void)(
i),t)...};
37 }, std::make_index_sequence<n>{});
44 #endif // DUNE_COMMON_FILLED_ARRAY_HH constexpr std::array< T, n > filledArray(const T &t)
Return an array filled with the provided value.
Definition: filledarray.hh:33
decltype(auto) constexpr unpackIntegerSequence(F &&f, [[maybe_unused]] std::integer_sequence< I, i... > sequence)
Unpack an std::integer_sequence<I,i...> to std::integral_constant<I,i>...
Definition: indices.hh:124
I i
Definition: hybridmultiindex.hh:328
Dune namespace
Definition: alignedallocator.hh:12