Format list of arguments according to the given format string and return the result as a string.
Synopsis
Declared in <tinyformat.h>
template<typename... Args>
std::string
format(
FormatStringCheck<sizeof...(Args)> fmt,
Args const&... args);
Return Value
The formatted result as a string.
Parameters
Name |
Description |
fmt |
Format string, checked against the number of arguments. |
args |
Values to format. |
Created with MrDocs