A query parameter view.
Defined in header <boost/url/query_param.hpp>
struct query_param_view
Name |
Description |
---|---|
Conversion. |
|
query_param_view [constructor] |
Constructor. |
Name |
Description |
---|---|
True if the value is present. |
|
The percent-decoded key. |
|
The percent-decoded value. |
Objects of this type represent a single key/value pair in a query string.
A value that is present with an empty string is distinct from a value that
is absent. The presence of a value is indicated by has_value
== true
.
Ownership of the underlying character buffers representing the key and value
is not transferred. The caller is responsible for ensuring that the buffers
assigned to these members remains valid while the object exists.
Convenience header <boost/url.hpp>