Home | Libraries | People | FAQ | More |
Constructor.
param( string_view key, string_view value);
This constructs a parameter with a key and value. No validation is performed on the strings. Ownership of the key and value is acquired by making copies.
param qp( "key", "value" );
this->key == key && this->value == value && this->has_value == true
Linear in key.size() + value.size()
.
Calls to allocate may throw.
Name |
Description |
---|---|
|
The key and value to set. |