IntFlagPolicy

The module description, above, explains the different policies.

Values

ValueMeaning
none0
sticky1
asserts2
throws3

Examples

In mixed-policy checkedint operations, the higher ranking policy should be used.

assert(!IntFlagPolicy.none); // none == 0
assert(IntFlagPolicy.sticky > IntFlagPolicy.none);
assert(IntFlagPolicy.asserts > IntFlagPolicy.sticky);
assert(IntFlagPolicy.throws > IntFlagPolicy.asserts);

Meta