Find the last element (requires Any()). */
| 192 | } |
| 193 | /** Find the last element (requires Any()). */ |
| 194 | constexpr unsigned Last() const noexcept |
| 195 | { |
| 196 | Assume(m_val != 0); |
| 197 | return std::bit_width(m_val) - 1; |
| 198 | } |
| 199 | /** Set this object's bits to be the binary AND between respective bits from this and a. */ |
| 200 | constexpr IntBitSet& operator|=(const IntBitSet& a) noexcept { m_val |= a.m_val; return *this; } |
| 201 | /** Set this object's bits to be the binary OR between respective bits from this and a. */ |
no outgoing calls