[#boost-urls-url_view-2constructor-024]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/url_view.adoc[url&lowbar;view]::url&lowbar;view
:relfileprefix: ../../../
:mrdocs:

Constructor

== Synopsis

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

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

== Description

After construction, both views reference the same underlying character buffer&period; Ownership is not transferred&period;

== Postconditions

[,cpp]
----
this->buffer().data() == other.buffer().data()
----
== Complexity

Constant&period;

== Exception Safety

Throws nothing&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The other view&period;
|===


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