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)
    struct IntFlag
    const @trusted pure nothrow @nogc
    void
    toString
    (
    Writer
    Char
    )
    (
    Writer sink
    ,
    FormatSpec!Char fmt = (FormatSpec!Char).init
    )
  2. string toString()

Examples

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

Meta