A std::string‐backed buffer that can be converted to a writer.

Synopsis

Declared in <fmt/format.h>

class string_buffer;

Member Functions

Name

Description

string_buffer [constructor]

Constructs an empty string_buffer.

str

Returns the string accumulated in this buffer so far.

operator writer

Converts this buffer to a writer that writes into it.

Created with MrDocs