Skip to content
TensorStore
tensorstore::SmallBitSet<N>::operator[]
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
          • Cspan
          • CUtf8String
          • CSmallBitSet
            • Types
            • Constructors
            • Methods
              • FFromIndexRange
              • FFromBoolRange
              • Foperator=
              • Fsize
              • Fnone
              • Fany
              • Fall
              • Ftest
              • Fset
              • Foperator[]
                • Dchecks
              • Fto_uint
            • Conversion operators
            • Set operations
            • Friend functions
            • Related Types
          • 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/small_bit_set.h"
    constexpr reference
    tensorstore::SmallBitSet<N>::operator[](size_t offset);
    constexpr bool
    tensorstore::SmallBitSet<N>::operator[](size_t offset) const;

    Returns a reference to an individual bit.

    Dchecks:¶

    offset >= 0 && offset < N

    Back to top
    Previous tensorstore::SmallBitSet<N>::set
    Next tensorstore::SmallBitSet<N>::to_uint