Compute the number of 1 bits in the bitset. */
| 378 | static constexpr unsigned Size() noexcept { return MAX_SIZE; } |
| 379 | /** Compute the number of 1 bits in the bitset. */ |
| 380 | unsigned constexpr Count() const noexcept |
| 381 | { |
| 382 | unsigned ret{0}; |
| 383 | for (I v : m_val) ret += PopCount(v); |
| 384 | return ret; |
| 385 | } |
| 386 | /** Check if all bits are 0. */ |
| 387 | bool constexpr None() const noexcept |
| 388 | { |
nothing calls this directly
no test coverage detected