boost::urls::param::param

Constructors

Synopses

Declared in <boost/url/param.hpp>

Constructor

constexpr
param() = default;

Constructor

constexpr
param(param const& other) = default;

Constructor

param(param&& other) noexcept;

Constructor

template<class OptionalString>
param(
    core::string_view key,
    OptionalString const& value);

Aggregate construction

param(
    core::string_view key,
    core::string_view value,
    bool has_value) noexcept;

Return Value

A reference to this object.

Template Parameters

Name

Description

OptionalString

An optional string type, such as core::string_view, std::nullptr, no_value_t, or optional<core::string_view>.

Parameters

Name

Description

other

The object to construct from.

key

The key to set.

value

The value to set.

has_value

True if a value is present.

Created with MrDocs