TensorStore
tensorstore::ByteStridedPointer<T>::alignment
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
          • E ContainerKind
          • C ByteStridedPointer
            • Types
            • Data members
              • V alignment
            • Constructors
            • Accessors
            • Arithmetic operations
          • C StridedLayout
          • C ElementPointer
          • C Array
          • C TransformedArray
          • 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.