boost::urls::param_view::param_view

Constructor

Synopsis

constexpr
param_view() = default;
template<class OptionalString>
param_view(
    core::string_view key,
    OptionalString const& value) noexcept;
param_view(param const& other) noexcept;
param_view(
    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_view qp;
this->key == "" && this->value == "" && this->has_value == false

Constant.

Throws nothing.

Parameters

Name Description

key,

value The key and value to set.

other

The param to reference