SumType.toString

Returns a string representation of the SumType's current value.

Not available when compiled with -betterC.

  1. string toString()
    struct SumType(Types...)
    version(!D_BetterC)
    string
    toString
    (
    this This
    )
    ()
    if (
    is(NoDuplicates!Types == Types) &&
    )
  2. void toString(Sink sink, FormatSpec!Char fmt)

Meta