Format a Formatter object recursively. Behaves just like formatString(fmt.str(), arg, cb); but avoids creating a temporary string if possible.
Declared in <folly/Format.h>
template<
class FormatCallback,
bool containerMode,
class... Args>
void
formatFormatter(
Formatter<containerMode, Args...> const& formatter,
FormatArg& arg,
FormatCallback& cb);
| Name | Description |
|---|---|
| formatter | The formatter whose output is formatted. |
| arg | The format argument describing alignment, padding, and width. |
| cb | The callback that receives the formatted output. |