Format list of arguments to the stream according to given format string.

Synopsis

Declared in <tinyformat.h>

template<typename... Args>
void
format(
    std::ostream& out,
    FormatStringCheck<sizeof...(Args)> fmt,
    Args const&... args);

Parameters

Name

Description

out

Stream to write the formatted output to.

fmt

Format string, checked against the number of arguments.

args

Values to format.

Created with MrDocs