Formats args according to the compiled format string fmt and writes the result to the output iterator out.

Synopsis

Declared in <fmt/compile.h>

template<
    typename OutputIt,
    typename S,
    typename... T>
constexpr
OutputIt
format_to(
    OutputIt out,
    S const& fmt,
    T&&... args);

Return Value

An iterator past the end of the output written.

Parameters

Name

Description

out

The output iterator to write to.

fmt

The compiled format string.

args

The arguments to format.

Created with MrDocs