SmartInt.popcnt

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

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

Meta