3#ifndef DUNE_COMMON_STD_MAKE_ARRAY_HH
4#define DUNE_COMMON_STD_MAKE_ARRAY_HH
9#if DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY
10#include <experimental/array>
13#warning make_array.hh is deprecated and will be removed after Dune 2.9. \
14 Use deduction guide of `std::array` or `std::to_array`.
19#if DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY
41 template <
typename... Args>
42 std::array<
typename std::common_type<Args...>::type,
sizeof...(Args)>
44 std::array<
typename std::common_type<Args...>::type,
sizeof...(Args)>
std::array< typename std::common_type< Args... >::type, sizeof...(Args)> make_array(const Args &... args)
Create and initialize an array.
Definition: make_array.hh:43
Dune namespace.
Definition: alignedallocator.hh:13