Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

basic_format_context

Format context for incremental SQL formatting.

Synopsis

Defined in header <boost/mysql/format_sql.hpp>

template<
    class OutputString>
class basic_format_context
    : public format_context_base;
Member Functions

Name

Description

basic_format_context [constructor]

Constructor.

Move constructor.

get

Retrieves the result of the formatting operation.

operator=

Move assignment.

Description

The primary interface for incremental SQL formatting. Contrary to format_context_base, this type is aware of the output string's actual type. basic_format_context owns an instance of OutputString. Format operations will append characters to such string.

Objects of this type are single-use: once the result has been retrieved using get, they cannot be re-used. This is a move-only type.

Convenience header <boost/mysql.hpp>


PrevUpHomeNext