IntFlag.toString

Get a string representation of this IntFlag. The format is the same as that returned by IntFlags.toString().

  1. void toString(Writer sink, FormatSpec!Char fmt)
  2. string toString()
    struct IntFlag
    const pure nothrow @nogc
    string
    toString
    ()

Examples

assert(IntFlag.over.toString() == "{overflow}");
assert(IntFlag.over.toString() == IntFlag.over.mask.toString());

Meta