SafeInt.popcnt

Count the number of set bits using core.bitop.popcnt().

struct SafeInt(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
const pure nothrow @nogc
SafeInt!(int, policy, bitOps)
popcnt
()
()
if (
isIntegral!N &&
)

Meta