TensorStore
tensorstore::ByteStridedPointer<T>::operator-[pointer]
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
          • EContainerKind
          • CByteStridedPointer
            • Types
            • Data members
            • Constructors
            • Accessors
            • Arithmetic operations
              • Foperator+=
              • Foperator-=
              • Foperator[]
              • Foperator- [pointer]
              • Foperator+
              • Foperator- [byte_offset]
          • CStridedLayout
          • CElementPointer
          • CArray
          • CTransformedArray
          • Transformation
          • Iteration
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/util/byte_strided_pointer.h"
    template <typename U>
    friend ptrdiff_t tensorstore::ByteStridedPointer<T>::operator-(
        
    ByteStridedPointer<T> a,
        
    ByteStridedPointer<U> b);

    Computes the byte offset between two pointers.

    Back to top
    Previous tensorstore::ByteStridedPointer<T>::operator[]
    Next tensorstore::ByteStridedPointer<T>::operator+