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


Constructor

== Synopsis


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

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

== Description


This function constructs a param        which references the character buffers        representing the key and value in another        container&period;        Ownership of the buffers is not transferred&semi;        the caller is responsible for ensuring that        the assigned buffers remain valid until        they are no longer referenced&period;


=== Example

[,cpp]
----
param qp( "key", "value" );
param_view qpv( qp );
----

=== Postconditions

[,cpp]
----
this->key == key && this->value == value && this->has_value == other.has_value
----

=== Complexity

Constant&period;


=== Exception Safety

Throws nothing&period;



== Parameters


|===
| Name | Description

| *other*
| The param to reference


|===



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