[#BloombergLP-bslfmt-formatted_size-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::formatted&lowbar;size
:relfileprefix: ../../
:mrdocs:

Return the length of the string that formatting `args` per `fmtStr` yields&period;

== Synopses

Declared in `&lt;bslfmt&lowbar;format&lowbar;imp&period;h&gt;`

Return the length of the string that formatting `args` per `fmtStr` yields&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class&period;&period;&period; t&lowbar;ARGS&gt;
std::size&lowbar;t
xref:BloombergLP/bslfmt/formatted_size-09.adoc[formatted&lowbar;size](
    xref:BloombergLP/bslfmt/format_string.adoc[bslfmt::format&lowbar;string&lt;t&lowbar;ARGS&period;&period;&period;&gt;] fmtStr,
    t&lowbar;ARGS const&&period;&period;&period; args);
----

[.small]#xref:BloombergLP/bslfmt/formatted_size-09.adoc[_» more&period;&period;&period;_]#

Return the length of the string that formatting `args` per `fmtStr` yields&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class&period;&period;&period; t&lowbar;ARGS&gt;
std::size&lowbar;t
xref:BloombergLP/bslfmt/formatted_size-01.adoc[formatted&lowbar;size](
    xref:BloombergLP/bslfmt/wformat_string.adoc[bslfmt::wformat&lowbar;string&lt;t&lowbar;ARGS&period;&period;&period;&gt;] fmtStr,
    t&lowbar;ARGS const&&period;&period;&period; args);
----

[.small]#xref:BloombergLP/bslfmt/formatted_size-01.adoc[_» more&period;&period;&period;_]#

== 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]#
