fmt::format_to_result

The result of format_to writing into a fixed-size character array.

Synopsis

Declared in <fmt/base.h>

struct format_to_result;

Member Functions

NameDescription
operator char* Converts to a pointer to just after the last successful write.

Data Members

NameDescription
out Pointer to just after the last successful write.
truncated Specifies if the output was truncated.

Non-Member Functions

NameDescription
format_toFormats args according to specifications in fmt and writes the result into the fixed-size character array out, truncating if it does not fit.
vformat_toFormats args according to specifications in fmt and writes the result into the fixed-size character array out, truncating if it does not fit.