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 for the latest Boost documentation.
PrevUpHomeNext
identifier::identifier (3 of 3 overloads)

Constructs an identifier with two qualifiers.

Synopsis
constexpr
identifier(
    string_view qual1,
    string_view qual2,
    string_view id);
Description

Identifiers with two qualifier are used for field names. The first qualifier identifies the database, the second, the table name. For instance, identifier("db", "table_name", "field_name") maps to:

"`db`.`table_name`.`field_name`"
Exception safety

No-throw guarantee.


PrevUpHomeNext