[#BloombergLP-bslfmt-vformat_to-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::vformat_to :relfileprefix: ../../ :mrdocs: `vformat_to` overloads == Synopses Declared in `<bslfmt_format_imp.h>` Format the specified `args` according to the specification given by the specified `fmtStr`, and write the result of this operation into the string addressed by the specified `out` parameter. In the event of an error the exception `format_error` is thrown. Behavior is undefined if `out` does not point to a valid `bsl::string` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bslfmt/vformat_to-03.adoc[vformat_to]( xref:bsl/string.adoc[bsl::string]* out, std::string_view fmtStr, xref:BloombergLP/bslfmt/format_args.adoc[format_args] args); ---- [.small]#xref:BloombergLP/bslfmt/vformat_to-03.adoc[_» more..._]# Format the specified `args` according to the specification given by the specified `fmtStr`, and write the result of this operation into the string addressed by the specified `out` parameter. In the event of an error the exception `format_error` is thrown. Behavior is undefined if `out` does not point to a valid `bsl::string` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bslfmt/vformat_to-0c.adoc[vformat_to]( xref:bsl/wstring.adoc[bsl::wstring]* out, std::wstring_view fmtStr, xref:BloombergLP/bslfmt/wformat_args.adoc[wformat_args] args); ---- [.small]#xref:BloombergLP/bslfmt/vformat_to-0c.adoc[_» more..._]# Format the specified `args` according to the specification given by the specified `fmtStr`, and write the result of this operation into the output iterator given by the specified `out` parameter. In the event of an error the exception `format_error` is thrown. Behavior is undefined if `out` is not a valid output iterator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_OUT> t_OUT xref:BloombergLP/bslfmt/vformat_to-06.adoc[vformat_to]( t_OUT out, std::string_view fmtStr, xref:BloombergLP/bslfmt/format_args.adoc[format_args] args); ---- [.small]#xref:BloombergLP/bslfmt/vformat_to-06.adoc[_» more..._]# Format the specified `args` according to the specification given by the specified `fmtStr`, and write the result of this operation into the output iterator given by the specified `out` parameter. In the event of an error the exception `format_error` is thrown. Behavior is undefined if `out` is not a valid output iterator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_OUT> t_OUT xref:BloombergLP/bslfmt/vformat_to-00.adoc[vformat_to]( t_OUT out, std::wstring_view fmtStr, xref:BloombergLP/bslfmt/wformat_args.adoc[wformat_args] args); ---- [.small]#xref:BloombergLP/bslfmt/vformat_to-00.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#