fmt::basic_appender

An output iterator that appends to a buffer. It is used instead of back_insert_iterator to reduce symbol sizes and avoid the <iterator> dependency.

Synopsis

Declared in <fmt/base.h>

template<typename T>
class basic_appender;

Type Aliases

NameDescription
container_type The type of the buffer this appender writes to.

Member Functions

NameDescription
basic_appender [constructor]Constructs a basic_appender that appends to buf.
operator= Appends c to the buffer.
operator* Returns a reference to this appender.
operator++ Increment operators

Protected Data Members

NameDescription
container The buffer this appender writes to.