...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Format context for incremental SQL formatting.
Defined in header <boost/mysql/format_sql.hpp>
template< classOutputString
> class basic_format_context : publicformat_context_base
;
Name |
Description |
---|---|
basic_format_context [constructor] |
Constructor. |
Retrieves the result of the formatting operation. |
|
Move assignment. |
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>