fmt
Loading...
Searching...
No Matches
fmt::Writer Class Referenceexport
module fmt

Public Member Functions

 Writer (FILE *f)
 Writer (detail::Buffer< char > &buf)
template<typename... T>
auto print (FormatString< T... > fmt, T &&... args) -> void

Detailed Description

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.

Member Function Documentation

◆ print()

template<typename... T>
auto fmt::Writer::print ( FormatString< T... > fmt,
T &&... args ) -> void
inline

Formats args according to specifications in fmt and writes the output to the file.


The documentation for this class was generated from the following file:
  • /home/mccakit/desktop/mccakit-fmt/fmt/src/fmt/iface/format.cppm