13namespace tcspc::internal {
16inline void for_each_set_bit(
u32np bits, F func)
noexcept(
noexcept(func(0))) {
17 while (bits != 0_u32np) {
18 func(std::countr_zero(bits.value()));
19 bits = bits & (bits - 1_u32np);
npint< u32 > u32np
Non-promoted unsigned 32-bit integer.
Definition npint.hpp:306