Return the length of the string that formatting args per fmtStr yields.

Synopses

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);

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);

Return Value

the number of characters in the formatted result

Parameters

Name

Description

fmtStr

format string

args

values to format

Created with MrDocs