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
          • C span
          • C Utf8String
          • C SmallBitSet
            • Types
            • Constructors
            • Methods
              • F FromIndexRange
              • F FromBoolRange
              • F operator=
              • F size
              • F none
              • F any
              • F all
              • F test
              • F set
              • F operator[]
                • Dchecks
              • F to_uint
            • Conversion operators
            • Set operations
            • Friend functions
            • Related Types
          • C MaybeHardConstraintSpan
          • C MaybeHardConstraintIndex
          • V IsCompatibleOptionSequence
          • 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