Skip to content
TensorStore
tensorstore::span<T, Extent>::last[static]
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
          • Cspan
            • Types
            • Data members
            • Constructors
            • Methods
              • Fdata
              • Fsize
              • Fempty
              • Fsize_bytes
              • Fbegin
              • Frbegin
              • Ffirst [static]
              • Ffirst [dynamic]
              • Flast [static]
                • Dchecks
              • Flast [dynamic]
              • Fsubspan [static]
              • Fsubspan [dynamic]
              • Foperator[]
              • Fat
              • Ffront
              • Fback
            • Related Constants
            • Related Functions
          • CUtf8String
          • CSmallBitSet
          • CMaybeHardConstraintSpan
          • CMaybeHardConstraintIndex
          • VIsCompatibleOptionSequence
          • Error handling
          • Asynchronous support
          • JSON serialization
          • Compile-time data type/rank/mode constraints
          • String Utilities
          • Index vectors
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Dchecks
    #include "tensorstore/util/span.h"
    template <ptrdiff_t Count>
    constexpr span<element_type, Count>
    tensorstore::span<T, Extent>::last() const;

    Returns a static extent subspan of the last Count elements.

    Dchecks:¶

    size() >= Count

    Back to top
    Previous tensorstore::span<T, Extent>::first[dynamic]
    Next tensorstore::span<T, Extent>::last[dynamic]