boost::urls::params_view::params_view

Constructor

Synopsis

params_view() = default;
constexpr
params_view(params_view const& other) = default;
params_view(
    params_view const& other,
    encoding_opts opt) noexcept;
params_view(core::string_view s);
params_view(
    core::string_view s,
    encoding_opts opt);

Description

Default-constructed params have zero elements.

params_view qp;
return params_view( "" );

Constant.

Throws nothing.

Exceptions

Name Thrown on

s

contains an invalid query parameter string.

Parameters

Name Description

s

The string to parse.

opt

The options for decoding. If this parameter is omitted, space_as_plus is used.