UInt.cttz

struct UInt(size_t size)
const @property @safe pure nothrow @nogc
size_t
cttz
()
()
if (
size % (size_t.sizeof * 8) == 0 &&
size >= (size_t.sizeof * 8)
)

Examples

auto a = UInt!128.fromHexString("d");
assert (a.cttz == 0);
a = UInt!128.init;
assert (a.cttz == 128);
a = UInt!128.fromHexString("300000000000000000");
assert (a.cttz == 68);

Meta