[#boost-urls-params_encoded_ref-2constructor-01]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_encoded_ref.adoc[params&lowbar;encoded&lowbar;ref]::params&lowbar;encoded&lowbar;ref
:relfileprefix: ../../../
:mrdocs:


Constructor

== Synopsis


Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_encoded_ref.hpp#L112[boost&sol;url&sol;params&lowbar;encoded&lowbar;ref&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
params&lowbar;encoded&lowbar;ref(xref:boost/urls/params_encoded_ref.adoc[params&lowbar;encoded&lowbar;ref] const& other) = default;
----

== Description


After construction, both views        reference the same url&period; Ownership is not        transferred&semi; the caller is responsible        for ensuring the lifetime of the url        extends until it is no longer        referenced&period;


=== Postconditions

[,cpp]
----
&this->url() == &other.url();
----

=== Complexity

Constant&period;


=== Exception Safety

Throws nothing&period;



== Parameters


|===
| Name | Description

| *other*
| The other view&period;


|===



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