| 53 | template <typename T> struct BitRange |
| 54 | { |
| 55 | explicit BitRange(T v) : value(v) {} |
| 56 | BitIterator<T> begin() const { return BitIterator<T>(value); } |
| 57 | BitIterator<T> end() const { return BitIterator<T>(0); } |
| 58 | std::size_t size() const { return std::popcount(static_cast<std::make_unsigned_t<T>>(value)); } |
nothing calls this directly
no outgoing calls
no test coverage detected