vprint overloads
Declared in <fmt/base.h>
Formats args according to specifications in fmt and writes the output to stdout.
void
vprint(
string_view fmt,
format_args args);
» more...
Formats args according to specifications in fmt and writes the output to stdout.
void
vprint(
wstring_view fmt,
wformat_args args);
» more...
Formats args according to specifications in fmt and writes the output to the stream os.
void
vprint(
std::ostream& os,
string_view fmt,
format_args args);
» more...
Formats args according to specifications in fmt and writes the output to the stream os.
void
vprint(
std::wostream& os,
wstring_view fmt,
wformat_args args);
» more...
Formats args according to specifications in fmt and writes the output to the file f.
void
vprint(
FILE* f,
string_view fmt,
format_args args);
» more...
Formats args according to specifications in fmt and writes the output to the file f.
void
vprint(
FILE* f,
wstring_view fmt,
wformat_args args);
» more...
Formats a string with the given text style using ANSI escape sequences and prints it to the specified file stream.
void
vprint(
FILE* f,
text_style ts,
string_view fmt,
format_args args);
» more...
| Name | Description |
|---|---|
| fmt | The format string. |
| args | The type-erased arguments to format. |
| os | The output stream to write to. |
| f | The file to write to. |
| ts | The text style to apply. |