IntFlag.toString

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

  1. string toString()
    struct IntFlag
    pragma(inline, true)
    string
    toString
    const pure @safe nothrow @nogc
    (
    )
  2. void toString(Writer w, FormatSpec!Char fmt = (FormatSpec!Char).init)

Examples

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

Meta