[#bsl-vformat-06] = xref:bsl.adoc[bsl]::vformat :relfileprefix: ../ :mrdocs: `vformat` overloads == Synopses Declared in `<bslfmt_format.h>` Format the specified `args` according to the specification given by the specified `fmtStr` and return the result. In the event of an error throw the exception `format_error`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/string.adoc[bsl::string] xref:bsl/vformat-0e8.adoc[vformat]( std::string_view fmtStr, std::format_args args); ---- [.small]#xref:bsl/vformat-0e8.adoc[_» more..._]# Format the specified `args` according to the specification given by the specified `fmtStr` and return the result. In the event of an error throw the exception `format_error`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/wstring.adoc[bsl::wstring] xref:bsl/vformat-007.adoc[vformat]( std::wstring_view fmtStr, std::wformat_args args); ---- [.small]#xref:bsl/vformat-007.adoc[_» more..._]# Format the specified `args` according to the specification given by the specified `fmtStr`, using the specified `allocator` to supply memory (if required), and return the result. In the event of an error throw the exception `format_error`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/string.adoc[bsl::string] xref:bsl/vformat-0eb.adoc[vformat]( xref:bsl/allocator-0df.adoc[allocator<char>] alloc, std::string_view fmtStr, std::format_args args); ---- [.small]#xref:bsl/vformat-0eb.adoc[_» more..._]# Format the specified `args` according to the specification given by the specified `fmtStr`, using the specified `allocator` to supply memory (if required), and return the result. In the event of an error throw the exception `format_error`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/wstring.adoc[bsl::wstring] xref:bsl/vformat-0c3.adoc[vformat]( xref:bsl/allocator-0df.adoc[allocator<wchar_t>] alloc, std::wstring_view fmtStr, std::wformat_args args); ---- [.small]#xref:bsl/vformat-0c3.adoc[_» more..._]# Format the specified `args` according to the specification given by the specified `fmtStr` in the locale of the specified `loc` and return the result. In the event of an error throw the exception `format_error`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/string.adoc[bsl::string] xref:bsl/vformat-08.adoc[vformat]( std::locale const& loc, std::string_view fmtStr, std::format_args args); ---- [.small]#xref:bsl/vformat-08.adoc[_» more..._]# Format the specified `args` according to the specification given by the specified `fmtStr` in the locale of the specified `loc` and return the result. In the event of an error throw the exception `format_error`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/wstring.adoc[bsl::wstring] xref:bsl/vformat-0c2.adoc[vformat]( std::locale const& loc, std::wstring_view fmtStr, std::wformat_args args); ---- [.small]#xref:bsl/vformat-0c2.adoc[_» more..._]# Format the specified `args` according to the specification given by the specified `fmtStr` in the locale of the specified `loc`, using the specified `allocator` to supply memory (if required), and return the result. In the event of an error throw the exception `format_error`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/string.adoc[bsl::string] xref:bsl/vformat-00b.adoc[vformat]( xref:bsl/allocator-0df.adoc[allocator<char>] alloc, std::locale const& loc, std::string_view fmtStr, std::format_args args); ---- [.small]#xref:bsl/vformat-00b.adoc[_» more..._]# Format the specified `args` according to the specification given by the specified `fmtStr` in the locale of the specified `loc`, using the specified `allocator` to supply memory (if required), and return the result. In the event of an error throw the exception `format_error`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/wstring.adoc[bsl::wstring] xref:bsl/vformat-0ef.adoc[vformat]( xref:bsl/allocator-0df.adoc[allocator<wchar_t>] alloc, std::locale const& loc, std::wstring_view fmtStr, std::wformat_args args); ---- [.small]#xref:bsl/vformat-0ef.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#