[#boost-urls-param_view-2constructor-0e]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/param_view.adoc[param&lowbar;view]::param&lowbar;view
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/param.hpp#L478[boost&sol;url&sol;param&period;hpp]&gt;`

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:boost/urls/param_view/2constructor-07a.adoc[param&lowbar;view]() = default;
----

[.small]#xref:boost/urls/param_view/2constructor-07a.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/param_view/2constructor-07e.adoc[param&lowbar;view](xref:boost/urls/param.adoc[param] const& other) noexcept;
----

[.small]#xref:boost/urls/param_view/2constructor-07e.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class OptionalString&gt;
xref:boost/urls/param_view/2constructor-01.adoc[param&lowbar;view](
    core::string&lowbar;view key,
    OptionalString const& value) noexcept;
----

[.small]#xref:boost/urls/param_view/2constructor-01.adoc[_» more&period;&period;&period;_]#

Aggregate construction


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/param_view/2constructor-035.adoc[param&lowbar;view](
    core::string&lowbar;view key,
    core::string&lowbar;view value,
    bool has&lowbar;value) noexcept;
----

[.small]#xref:boost/urls/param_view/2constructor-035.adoc[_» more&period;&period;&period;_]#

== Template Parameters

[cols="1,4"]
|===
| Name| Description
| *OptionalString*
| An optional string type, such as `core&colon;&colon;string&lowbar;view`, `std&colon;&colon;nullptr`, xref:boost/urls/no_value_t.adoc[`no&lowbar;value&lowbar;t`], or `optional&lt;core&colon;&colon;string&lowbar;view&gt;`&period;
|===

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The param to reference
| *key*
| The key to set&period;
| *value*
| The value to set&period;
| *has&lowbar;value*
| True if a value is present&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
