boost::urls::param::param

Constructor

Synopsis

constexpr
param() = default;
param(param&& other) noexcept;
constexpr
param(param const& other) = default;
template<class OptionalString>
param(
    core::string_view key,
    OptionalString const& value);
param(
    core::string_view key,
    core::string_view value,
    bool has_value) noexcept;

Description

Default constructed query parameters have an empty key and no value.

param qp;
this->key == "" && this->value == "" && this->has_value == false

Constant.

Throws nothing.

Parameters

Name Description

key,

value The key and value to set.