TensorStore
tensorstore::IsIndexArray
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • T Index
          • T DimensionIndex
          • C IndexInterval
          • C OptionallyImplicitIndexInterval
          • C IndexDomainDimension
          • T InlineRank
          • C RankConstraint
          • C Box
          • T DimensionSet
          • C IndexDomain
          • C IndexTransform
          • V IsIndexArray
          • C DimExpression
          • Alignment
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/index_space/dim_expression.h"
    template <typename T>
    constexpr bool tensorstore::IsIndexArray =
        IsArray<T> &&
        std::is_convertible_v<T, SharedArrayView<const Index>>;

    Bool-valued metafunction that evaluates to true if T is an array type convertible to SharedArrayView<const Index>.