format overloads
Declared in <tinyformat.h>
Format a bilingual string from a bilingual format string and its arguments.
template<typename... Args>
bilingual_str
format(
util::BilingualFmt<sizeof...(Args)> fmt,
Args const&... args);
» more...
Format list of arguments according to the given format string and return the result as a string.
template<typename... Args>
std::string
format(
FormatStringCheck<sizeof...(Args)> fmt,
Args const&... args);
» more...
Format list of arguments to the stream according to given format string.
template<typename... Args>
void
format(
std::ostream& out,
FormatStringCheck<sizeof...(Args)> fmt,
Args const&... args);
» more...
| Name | Description |
|---|---|
| fmt | The bilingual format string. |
| args | The format arguments, whose original/translated parts are selected per side. |
| out | Stream to write the formatted output to. |