Boost.URL Logo

PrevUpHomeNext

query_param

A query parameter value.

Synopsis

Defined in header <boost/url/query_param.hpp>

struct query_param
Member Functions

Name

Description

operator query_param_encoded_view

Conversion.

operator query_param_view

Conversion.

query_param [constructor]

Constructor.

Data Members

Name

Description

has_value

True if the value is present.

key

The key.

value

The value.

Description

Objects of this type represent a single key/value pair, possibly percent-encoded, 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. Whether the strings are percent-encoded is determined by the container from which the value is obtained. This type allows for making a copy of a parameter where ownership is retained in the copy.

Convenience header <boost/url.hpp>


PrevUpHomeNext