Constructor
<include/boost/url/param.hpp>
constexpr
param_pct_view() = default;
» more...
param_pct_view(
pct_string_view key,
pct_string_view value) noexcept;
» more...
template<class OptionalString>
param_pct_view(
pct_string_view key,
OptionalString const& value);
» more...
explicit
param_pct_view(param_view const& p);
» more...
param_pct_view(
pct_string_view key,
pct_string_view value,
bool has_value) noexcept;
» more...
Default constructed query parameters have an empty key and no value.
param_pct_view qp;
this->key == "" && this->value == "" && this->has_value == false
Name | Thrown on |
---|---|
[object Object] |
or `value` contains an invalid percent-encoding. |
Name | Description |
---|---|
OptionalString | An optional `core::string_view` type, such as `boost::optional |
Name | Description |
---|---|
key, | value The key and value to set. |
p | The param to construct from. |