SmartInt.min

The most negative possible value of this SmartInt type.

  1. enum SmartInt!(N, policy, bitOps) min;
    struct SmartInt(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
    static if(__VERSION__ >= 2067)
    enum SmartInt!(N, policy, bitOps) min;
  2. auto min [@property getter]

Examples

import checkedint.throws : SmartInt; // use IntFlagPolicy.throws

assert(SmartInt!(int).min == int.min);
assert(SmartInt!(uint).min == uint.min);

Meta