[#fmt-vformat_to_n-0f]
= xref:fmt.adoc[fmt]::vformat&lowbar;to&lowbar;n
:relfileprefix: ../
:mrdocs:

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename OutputIt,
    typename Char,
    typename&period;&period;&period; Args&gt;
xref:fmt/format_to_n_result.adoc[format&lowbar;to&lowbar;n&lowbar;result&lt;OutputIt&gt;]
vformat&lowbar;to&lowbar;n(
    OutputIt out,
    size&lowbar;t n,
    xref:fmt/basic_string_view.adoc[basic&lowbar;string&lowbar;view&lt;Char&gt;] fmt,
    xref:fmt/basic_format_args.adoc[basic&lowbar;format&lowbar;args&lt;buffered&lowbar;context&lt;Char&gt;&gt;] args);
----


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