[#fmt-format_to_n-00d]
= xref:fmt.adoc[fmt]::format&lowbar;to&lowbar;n
:relfileprefix: ../
:mrdocs:

== Synopsis

Declared in `&lt;fmt&sol;compile&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename OutputIt,
    typename S,
    typename&period;&period;&period; T&gt;
xref:fmt/format_to_n_result.adoc[format&lowbar;to&lowbar;n&lowbar;result&lt;OutputIt&gt;]
format&lowbar;to&lowbar;n(
    OutputIt out,
    size&lowbar;t n,
    S const& fmt,
    T&&&period;&period;&period; args);
----


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