[#boost-urls-url_view-2constructor-024]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/url_view.adoc[url_view]::url_view
:relfileprefix: ../../../
:mrdocs:


Constructor

== Synopsis


Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/url_view.hpp#L239[boost/url/url_view.hpp]>`

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

== Description


After construction, both views        reference the same underlying character        buffer. Ownership is not transferred.


=== Postconditions

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

=== Complexity

Constant.


=== Exception Safety

Throws nothing.





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