TensorStore
tensorstore::StaticCastResultType
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
            • 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
    #include "tensorstore/static_cast.h"
    template <typename Target,
             
     typename SourceRef,
             
     CastChecking Checking = CastChecking::unchecked>
      
    requires IsStaticCastConstructible<Target, SourceRef>
    using tensorstore::StaticCastResultType;

    Evaluates to the result of casting a value of type SourceRef&& to Target with a checking mode of Checking.

    Back to top
    Previous tensorstore::IsStaticCastConstructible
    Next tensorstore::StaticCast