Formats args according to specifications in fmt and returns the result as a string.
Declared in <fmt/printf.h>
template<typename Char>
std::basic_string<Char>
vsprintf(
basic_string_view<Char> fmt,
vprintf_args<Char>::type args);
The formatted string.
| Name | Description |
|---|---|
| fmt | The format string. |
| args | The type-erased arguments to format. |