-
#include "tensorstore/index_space/index_transform.h" -
absl::Status tensorstore::ValidateIndexArrayBounds(
IndexInterval bounds,
ArrayView<const Index, dynamic_rank, offset_origin> index_array); Checks that
bounds.Contains(index)for all values ofindexinindex_array.- Error absl::StatusCode::kOutOfRange:¶
if an index is out of bounds.