fmt::writer::writer

Constructors

Synopses

Declared in <fmt/format.h>

Constructs a writer that writes to the given buffer.

writer(/* implementation-defined */& buf);
» more...

Constructs a writer that writes directly to the given file.

writer(FILE* f);
» more...

Parameters

NameDescription
bufThe buffer to write to.
fThe file to write to.