MCPcopy Create free account
hub / github.com/ablab/spades / format

Method format

ext/include/cppformat/format.h:2116–2120  ·  view source on GitHub ↗

\rst Formats arguments and returns the result as a string. **Example**:: std::string message = format("The answer is {}", 42); \endrst */

Source from the content-addressed store, hash-verified

2114 \endrst
2115*/
2116inline std::string format(StringRef format_str, ArgList args) {
2117 MemoryWriter w;
2118 w.write(format_str, args);
2119 return w.str();
2120}
2121
2122inline std::wstring format(WStringRef format_str, ArgList args) {
2123 WMemoryWriter w;

Callers 15

writeMethod · 0.45
formatFunction · 0.45
printfMethod · 0.45
childrenMethod · 0.45
to_stringMethod · 0.45
to_stringMethod · 0.45
to_stringMethod · 0.45
to_stringMethod · 0.45
childrenMethod · 0.45
to_stringMethod · 0.45
to_stringMethod · 0.45
to_stringMethod · 0.45

Calls 2

writeMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected