[#bsl-vformat_to-0c]
= xref:bsl.adoc[bsl]::vformat&lowbar;to
:relfileprefix: ../
:mrdocs:

`vformat&lowbar;to` overloads

== Synopses

Declared in `&lt;bslfmt&lowbar;format&period;h&gt;`

Format type&hyphen;erased `args` per `fmtStr` into the string at `out`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/vformat_to-09.adoc[vformat&lowbar;to](
    xref:bsl/string.adoc[string]* out,
    std::string&lowbar;view fmtStr,
    std::format&lowbar;args args);
----

[.small]#xref:bsl/vformat_to-09.adoc[_» more&period;&period;&period;_]#

Format type&hyphen;erased `args` per `fmtStr` into the string at `out`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/vformat_to-0d.adoc[vformat&lowbar;to](
    xref:bsl/wstring.adoc[wstring]* out,
    std::wstring&lowbar;view fmtStr,
    std::wformat&lowbar;args args);
----

[.small]#xref:bsl/vformat_to-0d.adoc[_» more&period;&period;&period;_]#

Format type&hyphen;erased `args` per `fmtStr` into `out` using locale `loc`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/vformat_to-0f.adoc[vformat&lowbar;to](
    xref:bsl/string.adoc[string]* out,
    std::locale const& loc,
    std::string&lowbar;view fmtStr,
    std::format&lowbar;args args);
----

[.small]#xref:bsl/vformat_to-0f.adoc[_» more&period;&period;&period;_]#

Format type&hyphen;erased `args` per `fmtStr` into `out` using locale `loc`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/vformat_to-0a.adoc[vformat&lowbar;to](
    xref:bsl/wstring.adoc[wstring]* out,
    std::locale const& loc,
    std::wstring&lowbar;view fmtStr,
    std::wformat&lowbar;args args);
----

[.small]#xref:bsl/vformat_to-0a.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *out*
| address of the string receiving formatted characters
| *fmtStr*
| format string
| *args*
| type&hyphen;erased format arguments
| *loc*
| locale used for locale&hyphen;dependent formatting
|===


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