6typedef unsigned long long ull;
11 static const ull size_correcter = 1ull;
12 static const ull one_bit = 1ull;
13 static const ull zero_bit = 0ull;
14 int bits = 8 *
sizeof(ull);
15 int m_size = 0, n = 0;
19 void allocate(
int sz) noexcept;
20 void random() noexcept;
22 void eqs(const
Bitset& u,
int s) noexcept;
23 void ands(const
Bitset& u, const
Bitset& v,
int s,
int s1,
int s2) noexcept;
24 void xors(const
Bitset& u, const
Bitset& v,
int s,
int s1,
int s2) noexcept;
26 bool operator==(const
Bitset& rhs) const noexcept;
28 constexpr
int size() const noexcept;
32 void reset() noexcept;
37 Bitset operator~() const noexcept;
38 int operator[](
int) noexcept;
A class representing a bitset with dynamic size.
Definition Bitset.hpp:14
size_t size() const
Get the size of the bitset.
Definition Bitset.hpp:93