args
according to specifications in fmt
and returns the result as as string.
<fmt/printf.h>
args
according to specifications in fmt
and returns the result as as string.
template<typename... T>
std::string
sprintf(
string_view fmt,
T const...&... args);
» more...
template<typename... T>
[[deprecated]]
std::wstring
sprintf(
basic_string_view<wchar_t> fmt,
T const...&... args);
» more...