5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_INTEGER_SEQUENCES_SEQUENTIAL_VALUES_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_INTEGER_SEQUENCES_SEQUENTIAL_VALUES_HPP_
12#include "arene/base/array/array.hpp"
13#include "arene/base/constraints/constraints.hpp"
14#include "arene/base/integer_sequences/make_integer_sequence.hpp"
15#include "arene/base/stdlib_choice/cstddef.hpp"
16#include "arene/base/stdlib_choice/enable_if.hpp"
17#include "arene/base/stdlib_choice/integer_sequence.hpp"
24namespace sequential_values_detail {
29static constexpr std::size_t max_number_of_elements{65535U};
35template <std::size_t NumElements>
36extern constexpr bool is_valid_size_v = NumElements <= max_number_of_elements;
44 ElementType... Indices,
45 constraints<std::enable_if_t<sequential_values_detail::is_valid_size_v<
sizeof...(Indices)>>> =
nullptr>
46constexpr auto make_index_sequence_array(std::integer_sequence<ElementType, Indices...>)
47 -> array<ElementType,
sizeof...(Indices)> {
Definition array_exceptions_disabled.cpp:11
Copyright 2026, Toyota Motor Corporation.
Definition array_exceptions_disabled.cpp:10