The OpenD Programming Language

SumType.toString

Handles formatted writing of the SumType's current value.

Not available when compiled with -betterC.

  1. string toString()
  2. void toString(Sink sink, FormatSpec!Char fmt)
  3. string toString()
  4. void toString(Sink sink, FormatSpec!Char fmt)
    struct SumType(Types...)
    version(!D_BetterC)
    void
    toString
    (
    this This
    Sink
    Char
    )
    (
    ref Sink sink
    ,
    const ref FormatSpec!Char fmt
    )

Parameters

sink Sink

Output range to write to.

fmt FormatSpec!Char

Format specifier to use.

See Also

Meta