sformat

Produces a string according to the specified format and writes it into an output range. $(D_PSYMBOL sformat) writes the final string in chunks, so the output range should be in output range for const(char)[].

R
sformat
(
string fmt
R
Args...
)
(,
auto ref Args args
)
if (
isOutputRange!(R, const(char)[])
)

Parameters

fmt

Format.

R

Output range type.

output R

Output range.

args Args

Arguments.

Return Value

Type: R

output.

Meta