Finds the first marked bit in the set and clears it. Returns the bit index. Result is undefined if all bits are unmarked.
| 94 | // Finds the first marked bit in the set and clears it. Returns the bit index. |
| 95 | // Result is undefined if all bits are unmarked. |
| 96 | inline uint32_t clearFirstMarkedBit() { return clearFirstMarkedBit(value); } |
| 97 | |
| 98 | static inline uint32_t clearFirstMarkedBit(uint32_t& value) { |
| 99 | uint32_t n = firstMarkedBit(value); |
nothing calls this directly
no outgoing calls
no test coverage detected