SafeInt.popcnt

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

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

Meta