print overloads
Synopses
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);
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);
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);
Parameters
Name |
Description |
fmt |
format string |
args |
values to be formatted |
stream |
output stream to which the formatted text is written |
Created with MrDocs