Home | Libraries | People | FAQ | More |
Constructor.
param_pct_view( pct_string_view key, no_value_t);
This constructs a parameter with a key, which may contain percent escapes, and no value. The new key will reference the same underlying character buffer. Ownership of the buffers is not transferred; the caller is responsible for ensuring that the assigned buffers remain valid until they are no longer referenced.
param_pct_view qp( "key" );
this->key.data() == key.data() && this->value == "" && this->has_value == false
Linear in key.size()
.
Exceptions thrown on invalid input.
Type |
Thrown On |
---|---|
|
|
Name |
Description |
---|---|
|
The key to set. |