fmt::vprintln

vprintln overloads

Synopses

Declared in <fmt/base.h>

Formats args according to specifications in fmt and writes the output to the file f followed by a newline.

void
vprintln(
    FILE* f,
    string_view fmt,
    format_args args);
» more...

Formats a string with the given text style using ANSI escape sequences and prints it to the specified file stream followed by a newline.

void
vprintln(
    FILE* f,
    text_style ts,
    string_view fmt,
    format_args args);
» more...

Parameters

NameDescription
fThe file to write to.
fmtThe format string.
argsThe type-erased arguments to format.
tsThe text style to apply.