[#BloombergLP-bslfmt-formatted_size-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::formatted_size :relfileprefix: ../../ :mrdocs: Return the length of the string that formatting `args` per `fmtStr` yields. == Synopsis Declared in `<bslfmt_format_imp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class... t_ARGS> std::size_t formatted_size( xref:BloombergLP/bslfmt/format_string.adoc[bslfmt::format_string<t_ARGS...>] fmtStr, t_ARGS const&... args); ---- == Description Calculate the length of the resulting string if the specified `args` were to be formatted according to the specification given by the specified `fmtStr`, and return the result. == Return Value the number of characters in the formatted result == Parameters [cols="1,4"] |=== | Name| Description | *fmtStr* | format string | *args* | values to format |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#