println overloads

Synopses

Declared in <bslfmt_print_imp.h>

Write ` ` into `stdout`.

void
println();

Write ` ` to the specified stream`. The behavior is undefined unless `stream is a valid pointer to an output C 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 the specified args using bsl::format_to according to the specification given by the specified fmt, append ` `, and write the result of this operation to stdout. In the event of formatting error throw the exception format_error, in the event of I/O error throw the exception system_error, on allocation failure throw bad_alloc.

template<class... t_ARGS>
void
println(
    bsl::format_string<t_ARGS...> fmt,
    t_ARGS&&... args);

Format the specified args using bsl::format_to according to the specification given by the specified fmt, append ` `, and write the result of this operation to the specified stream. In the event of formatting error throw the exception format_error, in the event of I/O error throw the exception system_error, on allocation failure throw bad_alloc. The behavior is undefined unless stream is a valid pointer to an output C stream.

template<class... t_ARGS>
void
println(
    std::ostream& stream,
    bsl::format_string<t_ARGS...> fmt,
    t_ARGS&&... args);

Format the specified args using bsl::format_to according to the specification given by the specified fmt, append ` `, and write the result of this operation to the specified stream. In the event of formatting error throw the exception format_error, in the event of I/O error throw the exception system_error, on allocation failure throw bad_alloc. The behavior is undefined unless stream is a valid pointer to an output C stream.

template<class... t_ARGS>
void
println(
    FILE* stream,
    bsl::format_string<t_ARGS...> fmt,
    t_ARGS&&... args);

Created with MrDocs