ΒΆtemplate <typename... T>
inline auto format(format_string<T...> fmt,
                   T&&... args) -> std::string

Description

\rstFormats ``args`` according to specifications in ``fmt`` and returns the result as a string. *Example**:: #include <fmt /core.h> std::string message = fmt::format("The answer is {}.", 42);\endrst

Declared at: third_party/fmt/include/fmt/core.h:2786

Templates

T

Parameters

format_string<T...> fmt
T&&... args