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