|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Virtual table of sink operations. More...
#include <sink_provider.hpp>
Public Attributes | |
| void(* | write )(void *ctx, microfmt::string_view sv) noexcept = nullptr |
| Writes a character slice. See sink_provider_ref::write. | |
| void(* | flush )(void *ctx) noexcept = nullptr |
Flushes buffered output. nullptr for backends whose traits omit flush. See sink_provider_ref::flush. | |
Virtual table of sink operations.
|
noexcept |
Flushes buffered output. nullptr for backends whose traits omit flush. See sink_provider_ref::flush.
|
noexcept |
Writes a character slice. See sink_provider_ref::write.
Shares its signature with microfmt::sink::write_fn_t by design, so as_sink can hand this function pointer straight to a sink with no adapter.