![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
represents a slice of integer indices given the first and last More...
Public Types | |
| using | first_type = FirstType |
| first index type | |
| using | last_type = LastType |
| last index type | |
| using | stride_type = StrideType |
| stride type | |
Public Attributes | |
| first_type | first {} |
| start index First index (inclusive) in this slice. | |
| last_type | last {} |
| last index Last index (exclusive) in this slice. | |
| stride_type | stride {} |
| stride of indices Stride (or step) between indices in this slice. | |
represents a slice of integer indices given the first and last
| FirstType | type used to specify the first index |
| LastType | type used to specify the last index |
| StrideType | type used to specify the stride |
range_slice<int>{1, 11, 3} indicates the indices 1, 4, 7, and 10. Indices are selected from the half-open interval [1, 11) with a stride of 3.
| using arene::base::range_slice< FirstType, LastType, StrideType >::first_type = FirstType |
first index type
| using arene::base::range_slice< FirstType, LastType, StrideType >::last_type = LastType |
last index type
| using arene::base::range_slice< FirstType, LastType, StrideType >::stride_type = StrideType |
stride type
| first_type arene::base::range_slice< FirstType, LastType, StrideType >::first {} |
start index First index (inclusive) in this slice.
| last_type arene::base::range_slice< FirstType, LastType, StrideType >::last {} |
last index Last index (exclusive) in this slice.
| stride_type arene::base::range_slice< FirstType, LastType, StrideType >::stride {} |
stride of indices Stride (or step) between indices in this slice.