IntFlag.toString

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

  1. string toString()
  2. void toString(Writer sink, FormatSpec!Char fmt)
    struct IntFlag
    const
    void
    toString
    (
    Writer
    Char = char
    )
    (
    Writer sink
    ,
    FormatSpec!Char fmt = (FormatSpec!Char).init
    )

Examples

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

Meta