cpp/utility/format/format to

Format according to the format string, and write the result to the output iterator. If present, is used for locale-specific formatting.

@1@ equivalent to @2@ equivalent to @3@ equivalent to @4@ equivalent to

Let be  for overloads,  for overloads.

The behavior is undefined if does not model (meet the semantic requirements of) the concept, or if  does not meet the  requirements for any  in  (as required by  and ).

Return value
Iterator past the end of the output range.

Exceptions
Propagates any exception thrown by formatter or iterator operations.