[#bsl-format_to-0c] = xref:bsl.adoc[bsl]::format_to :relfileprefix: ../ :mrdocs: `format_to` overloads == Synopses Declared in `<bslfmt_format.h>` Format `args` per `fmtStr` into the string addressed by `out`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_STRING, class... t_ARGS> requires (bsl::is_same_v<t_STRING, bsl::string>) void xref:bsl/format_to-080.adoc[format_to]( t_STRING* out, format_string<t_ARGS...> fmtStr, t_ARGS&&... args); ---- [.small]#xref:bsl/format_to-080.adoc[_» more..._]# Format `args` per `fmtStr` into the string addressed by `out`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_STRING, class... t_ARGS> requires (bsl::is_same_v<t_STRING, bsl::wstring>) void xref:bsl/format_to-01.adoc[format_to]( t_STRING* out, wformat_string<t_ARGS...> fmtStr, t_ARGS&&... args); ---- [.small]#xref:bsl/format_to-01.adoc[_» more..._]# Format `args` per `fmtStr` into `out` using locale `loc`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_STRING, class... t_ARGS> requires (bsl::is_same_v<t_STRING, bsl::string>) void xref:bsl/format_to-086.adoc[format_to]( t_STRING* out, std::locale const& loc, format_string<t_ARGS...> fmtStr, t_ARGS&&... args); ---- [.small]#xref:bsl/format_to-086.adoc[_» more..._]# Format `args` per `fmtStr` into `out` using locale `loc`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_STRING, class... t_ARGS> requires (bsl::is_same_v<t_STRING, bsl::wstring>) void xref:bsl/format_to-04.adoc[format_to]( t_STRING* out, std::locale const& loc, wformat_string<t_ARGS...> fmtStr, t_ARGS&&... args); ---- [.small]#xref:bsl/format_to-04.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *out* | address of the string receiving formatted characters | *fmtStr* | format string | *args* | values to format | *loc* | locale used for locale‐dependent formatting |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#