7 #ifndef DUNE_COMMON_ARRAY_HH_DISABLE_DEPRECATION_WARNING 9 #warning This header is deprecated. 10 #warning Instead of Dune::array, use std::array from <array>. 11 #warning Instead of Dune::make_array(), use Dune::Std::make_array() from <dune/common/std/make_array.hh>. 12 #warning Instead of Dune::fill_array(), use Dune::filledArray() from <dune/common/filledarray.hh>. 14 #endif // DUNE_DISABLE_ARRAY_HH_DEPRECATION_WARNING 50 template<
typename T, std::
size_t n>
std::array< T, n > fill_array(const T &t)
Create an array and fill it with copies of the provided value.
Definition: array.hh:52
Dune namespace.
Definition: alignedallocator.hh:9
#define DUNE_DEPRECATED_MSG(text)
Mark some entity as deprecated.
Definition: deprecated.hh:169
Implementation of stream operators for std::array and std::tuple.
Definition of the DUNE_DEPRECATED macro for the case that config.h is not available.
std::array< typename std::common_type< Args... >::type, sizeof...(Args)> make_array(const Args &... args)
Create and initialize an array.
Definition: make_array.hh:36