[#boost-urls-param-2constructor-0b4]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/param.adoc[param]::param
:relfileprefix: ../../../
:mrdocs:


== Synopsis


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

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

[.small]#xref:boost/urls/param/2constructor-09.adoc[_» more..._]#

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

[.small]#xref:boost/urls/param/2constructor-07.adoc[_» more..._]#

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:boost/urls/param/2constructor-0d.adoc[param](xref:boost/urls/param.adoc[param] const& other) = default;
----

[.small]#xref:boost/urls/param/2constructor-0d.adoc[_» more..._]#

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

[.small]#xref:boost/urls/param/2constructor-0ba.adoc[_» more..._]#

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

[.small]#xref:boost/urls/param/2constructor-0a.adoc[_» more..._]#

== Template Parameters


|===
| 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


|===
| Name | Description

| *key,*
| value The key and value to set&period;


|===



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