MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / format

Function format

12.18-constevalParmCheck0/main.cpp:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64template<class... Args>
65string format(std::string_view fmt, const Args&... args)
66{
67 string out{};
68 Formatter(out, fmt, args...);
69
70 return out;
71}
72
73int main()
74{

Callers 15

mainFunction · 0.70
WithStdFormatFunction · 0.50
UseFunction · 0.50
formatMethod · 0.50
vlogFunction · 0.50
mainFunction · 0.50
formatMethod · 0.50
logFunction · 0.50
formatMethod · 0.50
vlogFunction · 0.50
LogFunction · 0.50
mainFunction · 0.50

Calls 1

FormatterFunction · 0.70

Tested by

no test coverage detected