60template <
typename T, std::size_t size, T v, std::size_t... I>
62(std::index_sequence<I...>)
65 std::array<T, size> a;
76template <
typename T, std::
size_t array_size, T value_to_fill_with>
82 (std::make_integer_sequence<std::size_t, array_size>{});
90template <
typename T, T... ARGS>
91[[nodiscard]]
constexpr std::array<T,
sizeof...(ARGS)>
make_array()
noexcept {
92 return std::array<T,
sizeof...(ARGS)>{ARGS...};
constexpr std::array< T, size > make_array_with_value_impl(std::index_sequence< I... >) noexcept
Implementation of lal::detail::make_array_with_value.
Definition make_array.hpp:62
constexpr std::array< T, sizeof...(ARGS)> make_array() noexcept
Make an array with the values given as parameters of the template.
Definition make_array.hpp:91
constexpr std::array< T, array_size > make_array_with_value() noexcept
Returns an array initialized at a given value.
Definition make_array.hpp:77
Main namespace of the library.
Definition basic_types.hpp:48