Boost.URL Logo

PrevUpHomeNext
params_encoded::reference

A type which can represent a parameter as a const reference.

Synopsis
using reference = query_param_encoded_view;
Member Functions

Name

Description

operator query_param_view

Conversion.

query_param_encoded_view

Constructor.

Data Members

Name

Description

has_value

True if the value is present.

key

The percent-encoded key.

value

The percent-encoded value.

Objects of this type represent a single encoded 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.

Description

This type does not make a copy of a parameter and ownership is retained by the container.


PrevUpHomeNext