5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_MDSPAN_SLICE_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_MDSPAN_SLICE_HPP_
8#include "arene/base/stdlib_choice/cstddef.hpp"
9#include "arene/base/stdlib_choice/integral_constant.hpp"
10#include "arene/base/stdlib_choice/is_integral.hpp"
11#include "arene/base/type_traits/is_integral_constant_like.hpp"
33 "'OffsetType' must be an integer type or model integral-constant-like"
37 "'ExtentType' must be an integer type or model integral-constant-like"
41 "'StrideType' must be an integer type or model integral-constant-like"
47 using offset_type = OffsetType;
49 using extent_type = ExtentType;
51 using stride_type = StrideType;
88 "'FirstType' must be an integer type or model integral-constant-like"
92 "'LastType' must be an integer type or model integral-constant-like"
96 "'StrideType' must be an integer type or model integral-constant-like"
100 using first_type = FirstType;
102 using last_type = LastType;
104 using stride_type = StrideType;
represents a set of extent regularly spaced integer indices
Definition slice.hpp:29
stride_type stride
stride of indices Stride (or step) between indices in this slice.
Definition slice.hpp:65
extent_type extent
extent of indices Number of indices in this slice.
Definition slice.hpp:61
offset_type offset
start of indices First index in this slice, i.e. offset from zero.
Definition slice.hpp:57
represents a slice of integer indices given the first and last
Definition slice.hpp:84
stride_type stride
stride of indices Stride (or step) between indices in this slice.
Definition slice.hpp:116
last_type last
last index Last index (exclusive) in this slice.
Definition slice.hpp:112
first_type first
start index First index (inclusive) in this slice.
Definition slice.hpp:109
Definition array_exceptions_disabled.cpp:11
Copyright 2026, Toyota Motor Corporation.
Definition array_exceptions_disabled.cpp:10