Return the length of the string that formatting args per fmtStr yields.
Declared in <bslfmt_format_imp.h>
template<class... t_ARGS>
std::size_t
formatted_size(
bslfmt::wformat_string<t_ARGS...> fmtStr,
t_ARGS const&... args);
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.
the number of characters in the formatted result
| Name | Description |
|---|---|
| fmtStr | wide format string |
| args | values to format |