MCPcopy Create free account
hub / github.com/fmtlib/fmt / sprintf

Function sprintf

include/fmt/printf.h:599–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597 */
598template <typename... T>
599inline auto sprintf(string_view fmt, const T&... args) -> std::string {
600 return vsprintf(fmt, make_printf_args(args...));
601}
602template <typename... T>
603FMT_DEPRECATED auto sprintf(basic_string_view<wchar_t> fmt, const T&... args)
604 -> std::wstring {

Callers 4

test_sprintfFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls 2

vsprintfFunction · 0.85
make_printf_argsFunction · 0.85

Tested by 4

test_sprintfFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68