Element index with no bounds check, for hot loops that have already
established the range. Reading outside 1:size() is undefined.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_int32_t), | intent(in) | :: | self | |||
| integer(kind=default_int), | intent(in) | :: | index |
pure function vec_int32_get_unchecked(self, index) result(value) !! Element `index` with no bounds check, for hot loops that have already !! established the range. Reading outside `1:size()` is undefined. class(vector_int32_t), intent(in) :: self integer(default_int), intent(in) :: index integer(int32) :: value value = self%items(index) end function vec_int32_get_unchecked