sformat overloads
Declared in <folly/Format.h>
Formats fmt with arg and returns the result as a string.
std::string
sformat(
StringPiece fmt,
A&&... arg);
» more...
Like format(), but immediately returns the formatted string instead of an intermediate format object.
template<class... Args>
std::string
sformat(
StringPiece fmt,
Args&&... args);
» more...
std::string.| Name | Description |
|---|---|
| fmt | The format string. |
| arg | The values to substitute into the format string. |
| args | The values to substitute into the format string. |