#include "tensorstore/util/small_bit_set.h"
template <size_t NumBits>
  
requires (NumBits <= N)
static constexpr SmallBitSet tensorstore::SmallBitSet<N>::FromIndices(
    
const int (&positions)[NumBits]);

Constructs the set containing bits at the specified indices.

This can be invoked with a braced list, e.g.

SmallBitSet<8>::FromIndices({1, 10})

Dchecks:

positions[i] >= 0 && positions[i] < N for all i