SmartInt.toString

Puts a string representation of this value into w. This overload will not allocate, unless std.range.primitives.put(w, ...) allocates.

  1. string toString()
  2. void toString(Writer w, FormatSpec!Char fmt = (FormatSpec!Char).init)
    struct SmartInt(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
    void
    toString
    const
    (
    Writer
    Char = char
    )
    (
    Writer w
    ,
    FormatSpec!Char fmt = (FormatSpec!Char).init
    )
    if (
    isIntegral!N &&
    isUnqual!N
    )

Parameters

w
Type: Writer

An output range that will receive the string

fmt
Type: FormatSpec!Char

An optional format specifier

Meta