SyTen

◆ format_args() [4/5]

template<typename... Args>
std::string syten::Log::format_args ( FmtNN  fmt,
Args &&...  data 
)
inline

Constructs a text representation of a series of objects by calling fmt::format() using the format string stored in the first one as the format specifier.

Does not add a newline.

Example\n format_args(FmtNN{"{} {:5} {}"}, 1, 2, "abc") returns 1 2 abc.
Example\n format_args(FmtNN{}, 1, 2, "abc") returns 12abc.

References syten::format(), syten::FmtNN::gen_default(), std::string::size(), and syten::FmtNN::str.

+ Here is the call graph for this function: