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
          • Cspan
          • CUtf8String
          • CSmallBitSet
          • CMaybeHardConstraintSpan
          • CMaybeHardConstraintIndex
          • VIsCompatibleOptionSequence
          • Error handling
          • Asynchronous support
          • JSON serialization
          • Compile-time data type/rank/mode constraints
            • ECastChecking
            • Cunchecked_t
            • VIsStaticCastConstructible
            • TStaticCastResultType
            • FStaticCast
            • TRebindRank
            • FStaticRankCast
            • TRebindDataType
              • Template Parameters
                • TSourceRef
                • TTargetElement
            • FStaticDataTypeCast
            • FConstDataTypeCast
            • TRebindMode
            • FModeCast
          • String Utilities
          • Index vectors
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Template Parameters
      • TSourceRef
      • TTargetElement
    #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.

    Back to top
    Previous tensorstore::StaticRankCast
    Next tensorstore::StaticDataTypeCast