print overloads
Declared in <bslfmt_print_imp.h>
Format args per fmt and write the result to stdout.
template<class... t_ARGS>
void
print(
bsl::format_string<t_ARGS...> fmt,
t_ARGS&&... args);
» more...
Format arguments and write the result to an output stream.
template<class... t_ARGS>
void
print(
std::ostream& stream,
bsl::format_string<t_ARGS...> fmt,
t_ARGS&&... args);
» more...
Format args per fmt and write the result to stream.
template<class... t_ARGS>
void
print(
FILE* stream,
bsl::format_string<t_ARGS...> fmt,
t_ARGS&&... args);
» more...
| Name | Description |
|---|---|
| fmt | format string |
| args | values to be formatted |
| stream | output stream to which the formatted text is written |