...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
(EXPERIMENTAL) A type-erased reference to a Formattable
value.
Defined in header <boost/mysql/format_sql.hpp>
class formattable_ref
Name |
Description |
---|---|
formattable_ref [constructor] |
Constructor. |
This type can hold references to any value that satisfies the Formattable
concept. The formattable_ref
type itself satisfies
Formattable
, and can thus
be used as an argument to format functions.
This is a non-owning type. It should be only used as a function argument, to avoid lifetime issues.