println overloads
Declared in <fmt/base.h>
Formats args according to specifications in fmt and writes the output to stdout followed by a newline.
template<typename... T>
void
println(
format_string<T...> fmt,
T&&... args);
» more...
Formats args according to specifications in fmt and writes the output to stdout followed by a newline.
template<typename... T>
void
println(
wformat_string<T...> fmt,
T&&... args);
» more...
Formats a string and prints it to stdout followed by a newline, using ANSI escape sequences to specify text formatting.
template<typename... T>
void
println(
text_style ts,
format_string<T...> fmt,
T&&... args);
» more...
Formats args according to specifications in fmt, writes the output to the stream os followed by a newline.
template<typename... T>
void
println(
std::ostream& os,
format_string<T...> fmt,
T&&... args);
» more...
Formats args according to specifications in fmt and writes the output to the stream os followed by a newline.
template<typename... T>
void
println(
std::wostream& os,
wformat_string<T...> fmt,
T&&... args);
» more...
Formats args according to specifications in fmt and writes the output to the file f followed by a newline.
template<typename... T>
void
println(
FILE* f,
format_string<T...> fmt,
T&&... args);
» more...
Formats args according to specifications in fmt and writes the output to the file f followed by a newline.
template<typename... T>
void
println(
FILE* f,
wformat_string<T...> fmt,
T&&... args);
» more...
Formats a string and prints it to the specified file stream followed by a newline, using ANSI escape sequences to specify text formatting.
template<typename... T>
void
println(
FILE* f,
text_style ts,
format_string<T...> fmt,
T&&... args);
» more...
| Name | Description |
|---|---|
| fmt | The format string. |
| args | The arguments to format. |
| ts | The text style to apply. |
| os | The output stream to write to. |
| f | The file to write to. |