MCPcopy Create free account
hub / github.com/c42f/tinyformat / format

Function format

tinyformat.h:1053–1056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1051/// Format list of arguments to the stream according to given format string.
1052template<typename... Args>
1053void format(std::ostream& out, const char* fmt, const Args&... args)
1054{
1055 vformat(out, fmt, makeFormatList(args...));
1056}
1057
1058/// Format list of arguments according to the given format string and return
1059/// the result as a string.

Callers 5

printfFunction · 0.85
printflnFunction · 0.85
compareSprintfFunction · 0.85
unitTestsFunction · 0.85
speedTestFunction · 0.85

Calls 2

vformatFunction · 0.85
makeFormatListFunction · 0.85

Tested by 3

compareSprintfFunction · 0.68
unitTestsFunction · 0.68
speedTestFunction · 0.68