println overloads

Synopses

Declared in <bslfmt_print_imp.h>

Write ` ` into `stdout`.

void
println();

Write ` ` to the specified `stream`.

void
println(std::ostream& stream);

Write ` ` to the specified stream`. The behavior is undefined unless `stream is a valid pointer to an output C stream.

void
println(FILE* stream);

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);

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);

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);

Parameters

Name

Description

stream

output stream to which the newline is written

fmt

format string

args

values to be formatted

Created with MrDocs