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

Method sprintf

ext/include/cppformat/format.h:2175–2179  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2173 \endrst
2174*/
2175inline std::string sprintf(StringRef format, ArgList args) {
2176 MemoryWriter w;
2177 printf(w, format, args);
2178 return w.str();
2179}
2180
2181/**
2182 \rst

Callers

nothing calls this directly

Calls 1

strMethod · 0.45

Tested by

no test coverage detected