Skip to content
TensorStore
tensorstore::RebindDataType
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
          • C span
          • C Utf8String
          • C SmallBitSet
          • C MaybeHardConstraintSpan
          • C MaybeHardConstraintIndex
          • V IsCompatibleOptionSequence
          • Error handling
          • Asynchronous support
          • JSON serialization
          • Compile-time data type/rank/mode constraints
            • E CastChecking
            • C unchecked_t
            • V IsStaticCastConstructible
            • T StaticCastResultType
            • F StaticCast
            • T RebindRank
            • F StaticRankCast
            • T RebindDataType
              • Template Parameters
                • T SourceRef
                • T TargetElement
            • F StaticDataTypeCast
            • F ConstDataTypeCast
            • T RebindMode
            • F ModeCast
          • String Utilities
          • Index vectors
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Template Parameters
      • T SourceRef
      • T TargetElement
    #include "tensorstore/data_type.h"
    template <typename SourceRef, typename TargetElement>
    using tensorstore::RebindDataType;

    Evaluates to a type similar to SourceRef but with a static data type of TargetElement.

    Supported types include ElementPointer, Array, TransformedArray, TensorStore.

    Template Parameters:¶
    typename SourceRef¶

    Optionally const- and/or reference-qualified source type. Any qualifiers are ignored.

    typename TargetElement¶

    Target element type.