-
#include "tensorstore/util/small_bit_set.h"
-
template <size_t NumBits>
requires (NumBits <= N)
static constexpr SmallBitSet
tensorstore::SmallBitSet<N>::FromBools(const bool (&bits)[NumBits]); Constructs from an array of
bool
values.This can be invoked with a braced list, e.g.
SmallBitSet<8>::FromBools({0, 1, 1, 0})