[#bsl-vformat-0e8]
= xref:bsl.adoc[bsl]::vformat
:relfileprefix: ../
:mrdocs:

Format the specified `args` according to the specification given by the specified `fmtStr` and return the result&period; In the event of an error throw the exception `format&lowbar;error`&period;

== Synopsis

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

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


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