Constructor
<include/boost/url/param.hpp>
constexpr
param() = default;
» more...
param(param&& other) noexcept;
» more...
constexpr
param(param const& other) = default;
» more...
template<class OptionalString>
param(
core::string_view key,
OptionalString const& value);
» more...
param(
core::string_view key,
core::string_view value,
bool has_value) noexcept;
» more...
Default constructed query parameters have an empty key and no value.
param qp;
this->key == "" && this->value == "" && this->has_value == false
Name | Description |
---|---|
OptionalString | An optional string type, such as `core::string_view`,
`std::nullptr`,
no_value_t
, or
`optional |
Name | Description |
---|---|
key, | value The key and value to set. |