:relfileprefix: ../../../
[#boost-urls-params_encoded_ref-2constructor]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/params_encoded_ref.adoc[pass:[params_encoded_ref]]::params_encoded_ref


Constructor


=== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_encoded_ref.hpp#L112[boost/url/params_encoded_ref.hpp,window=blank_]>`

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

=== Description


After construction, both views
reference the same url. Ownership is not
transferred; the caller is responsible
for ensuring the lifetime of the url
extends until it is no longer
referenced.
[,cpp]
----
&this->url() == &other.url();
----

=== Constant.

=== Throws nothing.





=== Parameters

|===
| Name | Description 

| *other*
| 
The other view.

|===




