[#fmt-formatter-075-format]
= xref:fmt.adoc[fmt]::xref:fmt/formatter-075.adoc[formatter&lt;folly::StringPiece&gt;]::format
:relfileprefix: ../../
:mrdocs:

Format a StringPiece into the output context&period;

== Synopsis

Declared in `&lt;folly&sol;Range&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Context&gt;
Context::iterator
format(
    xref:folly/StringPiece.adoc[folly::StringPiece] s,
    Context& ctx) const;
----

== Return Value

The iterator past the written output&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| The string piece to format&period;
| *ctx*
| The formatting context to write to&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
