println overloads
Declared in <bslfmt_print_imp.h>
Write `
into stdout`.
void
println();
» more...
Write `
to the specified stream`.
void
println(std::ostream& stream);
» more...
Write `
to the specified stream`. The behavior is undefined unless stream is a valid pointer to an output C stream.
void
println(FILE* stream);
» more...
Format args per fmt, append a newline, and write to stdout.
template<class... t_ARGS>
void
println(
bsl::format_string<t_ARGS...> fmt,
t_ARGS&&... args);
» more...
Format arguments, append a newline, and write the result to a stream.
template<class... t_ARGS>
void
println(
std::ostream& stream,
bsl::format_string<t_ARGS...> fmt,
t_ARGS&&... args);
» more...
Format args per fmt, append a newline, and write to stream.
template<class... t_ARGS>
void
println(
FILE* stream,
bsl::format_string<t_ARGS...> fmt,
t_ARGS&&... args);
» more...
| Name | Description |
|---|---|
| stream | output stream to which the newline is written |
| fmt | format string |
| args | values to be formatted |