![]() |
Home | Libraries | People | FAQ | More |
Insert a field.
void insert( field name, string_view name_string, string_view value, error_code& ec);
If one or more fields with the same name already exist, the new field will be inserted after the last field with the matching name, in serialization order. The value can be an empty string.
Name |
Description |
---|---|
|
The field name. |
|
The literal text corresponding to the field name. If name !=
|
|
The field value. |
|
Set to indicate what error occurred:
|