TensorStore
tensorstore::ByteStridedPointer<T>::operator-[byte_offset]
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 Integer>
      
    requires std::is_integral_v<Integer>
    friend ByteStridedPointer<T>
    tensorstore::ByteStridedPointer<T>::operator-(
        
    ByteStridedPointer<T> ptr,
        
    Integer byte_offset);

    Subtracts a byte offset from a pointer.

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