[#BloombergLP-bslfmt-vformat-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::vformat :relfileprefix: ../../ :mrdocs: `vformat` overloads == Synopses Declared in `<bslfmt_format_imp.h>` Format `args` according to the specification in `fmt`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/string.adoc[bsl::string] xref:BloombergLP/bslfmt/vformat-06.adoc[vformat]( std::string_view fmt, xref:BloombergLP/bslfmt/format_args.adoc[format_args] args); ---- [.small]#xref:BloombergLP/bslfmt/vformat-06.adoc[_» more..._]# Format `args` according to the specification in `fmtStr`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/wstring.adoc[bsl::wstring] xref:BloombergLP/bslfmt/vformat-0b.adoc[vformat]( std::wstring_view fmtStr, xref:BloombergLP/bslfmt/wformat_args.adoc[wformat_args] args); ---- [.small]#xref:BloombergLP/bslfmt/vformat-0b.adoc[_» more..._]# Format `args` according to `fmtStr` using the given allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/string.adoc[bsl::string] xref:BloombergLP/bslfmt/vformat-0f.adoc[vformat]( xref:bsl/allocator-0df.adoc[bsl::allocator<char>] alloc, std::string_view fmtStr, xref:BloombergLP/bslfmt/format_args.adoc[format_args] args); ---- [.small]#xref:BloombergLP/bslfmt/vformat-0f.adoc[_» more..._]# Format `args` according to `fmtStr` using the given allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/wstring.adoc[bsl::wstring] xref:BloombergLP/bslfmt/vformat-0c.adoc[vformat]( xref:bsl/allocator-0df.adoc[bsl::allocator<wchar_t>] alloc, std::wstring_view fmtStr, xref:BloombergLP/bslfmt/wformat_args.adoc[wformat_args] args); ---- [.small]#xref:BloombergLP/bslfmt/vformat-0c.adoc[_» more..._]# == Return Value * the formatted string * the formatted wide string == Parameters [cols="1,4"] |=== | Name| Description | *fmt* | format string | *args* | type‐erased format arguments | *fmtStr* | wide format string | *alloc* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#