|
fmt
|
Public Member Functions | |
| Writer (FILE *f) | |
| Writer (detail::Buffer< char > &buf) | |
| template<typename... T> | |
| auto | print (FormatString< T... > fmt, T &&... args) -> void |
A writer over a stream or a buffer, whichever it was constructed from.
It does not own the underlying stream. Use it to write code that formats into either destination without being a template.
|
inline |
Formats args according to specifications in fmt and writes the output to the file.