19 ,
data_((num_bits + 63) / 64, 0)
25 const size_t word = index >> 6;
26 const size_t bit = index & 63;
41 return ((
data_[
static_cast<size_t>(
word)] >> bit) & 1) == 1;
#define BB_ASSERT_LT(left, right,...)
Custom class to handle packed vectors of bits.
BB_INLINE bool get(size_t index) const noexcept
const uint64_t * raw_data() const
BB_INLINE void set(size_t index, bool value) noexcept
BitVector(size_t num_bits)
std::vector< uint64_t > data_
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept