Boost.URL Logo

PrevUpHomeNext
params_encoded::value_type

A type which can represent a parameter as a value.

Synopsis
using value_type = query_param;
Member Functions

Name

Description

operator query_param_encoded_view

Conversion.

operator query_param_view

Conversion.

query_param

Constructor.

Data Members

Name

Description

has_value

True if the value is present.

key

The key.

value

The value.

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.

Description

This type allows for making a copy of a parameter where ownership is retained in the copy.


PrevUpHomeNext