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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

format_arg

(EXPERIMENTAL) A named format argument, to be used in initializer lists.

Synopsis

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

class format_arg
Member Functions

Name

Description

format_arg [constructor]

Constructor.

Description

Represents a name, value pair to be passed to a formatting function. This type should only be used in initializer lists, as a function argument.

Object lifetimes

This is a non-owning type. Both the argument name and value are stored as views.

Convenience header <boost/mysql.hpp>


PrevUpHomeNext