cpp/utility/format/formatted size

Determine the total number of characters in the formatted string by formatting according to the format string. If present, is used for locale-specific formatting.

The behavior is undefined if does not meet the  requirements for any  in.

Return value
The total number of characters in the formatted string.

Exceptions
Propagates any exception thrown by formatter.