[#BloombergLP-bslfmt-vprint_nonunicode-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::vprint_nonunicode :relfileprefix: ../../ :mrdocs: Format type‐erased arguments and write the result to an output stream. == Synopsis Declared in `<bslfmt_print_ostream_imp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void vprint_nonunicode( std::ostream& stream, std::string_view fmt, std::format_args args); ---- == Description Format the specified `args` using `bsl::vformat_to` according to the specification given by the specified `fmt`, and write the result of this operation to the specified `stream`. In the event of formatting error throw the exception `format_error`, in the event of I/O error throw the exception `system_error`, on allocation failure throw `bad_alloc`. The behavior is undefined unless `stream` is a valid pointer to an output C stream. == Parameters [cols="1,4"] |=== | Name| Description | *stream* | output stream to which the formatted text is written | *fmt* | format string controlling how `args` are formatted | *args* | type‐erased values to format according to `fmt` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#