...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A type that can hold elements in this collection with value semantics.
using value_type = field;
Name |
Description |
---|---|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Constructs a |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Retrieves a reference to the underlying |
|
Returns whether this |
|
Returns whether this |
|
Returns whether this |
|
Returns whether this |
|
Returns whether this |
|
Returns whether this |
|
Returns whether this |
|
Returns whether this |
|
Returns whether this |
|
Returns whether this |
|
Returns the type of the value this |
|
Copy assignment. |
|
Constructs a |
|
~field [destructor] |
Destructor. |
Name |
Description |
---|---|
Tests for equality. |
|
Tests for inequality. |
|
Streams a |
This is a regular variant-like class that can represent any of the types
that MySQL allows. It has value semantics (as opposed to field_view
). Instances of this
class are not created by the library. They should be created by the user,
when the reference semantics of field_view
are not appropriate.
Like a variant, at any point, a field
always contains a value of certain type. You can query the type using
kind
and the is_xxx
functions
like is_int64
. Use as_xxx
and get_xxx
for checked
and unchecked value access, respectively. You can mutate a field
by calling the assignment operator,
or using the lvalue references returned by as_xxx
and get_xxx
.