TensorStore
tensorstore::get
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
          • C span
            • Types
            • Data members
            • Constructors
            • Methods
            • Related Constants
            • Related Functions
              • F get
              • F GetStaticOrDynamicExtent
          • C Utf8String
          • V IsCompatibleOptionSequence
          • C SmallBitSet
          • C MaybeHardConstraintSpan
          • C MaybeHardConstraintIndex
          • C Rational
          • Error handling
          • Asynchronous support
          • JSON serialization
          • Compile-time data type/rank/mode constraints
          • Index vectors
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/util/span.h"
    template <size_t I, typename T, ptrdiff_t Extent>
    T& tensorstore::get(const ::tensorstore::span<T, Extent>& s);

    Support for the standard tuple access protocol, as proposed in: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1024r0.pdf

    This definition (along with the partial specializations of std::tuple_size and std::tuple_element defined below) makes fixed-size spans compatible with C++17 structured bindings.