| 245 | |
| 246 | template<class F> |
| 247 | inline void ForEachSetBit(const uint8_t* __restrict__ bitmap, |
| 248 | int n_bits, |
| 249 | const F& func) { |
| 250 | ForEachBit<true, F>(bitmap, n_bits, func); |
| 251 | } |
| 252 | |
| 253 | template<class F> |
| 254 | inline void ForEachUnsetBit(const uint8_t* __restrict__ bitmap, |
no outgoing calls