TensorStore
tensorstore::ByteStridedPointer<T>::alignment
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
          • EContainerKind
          • CByteStridedPointer
            • Types
            • Data members
              • Valignment
            • Constructors
            • Accessors
            • Arithmetic operations
          • 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"
    constexpr const size_t tensorstore::ByteStridedPointer<T>::alignment =
       
     alignof(std::conditional_t<std::is_void_v<T>, char, T>);

    Alignment required by T, or 1 if T is void.

    Back to top
    Previous tensorstore::ByteStridedPointer<T>::difference_type
    Next tensorstore::ByteStridedPointer<T>::ByteStridedPointer[default]