:relfileprefix: ../../../
[#boost-urls-url_view-operator_assign-0f]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/url_view.adoc[pass:[url_view]]::operator=


Assignment


=== Synopsis

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

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

=== Description


After assignment, both views
reference the same underlying character
buffer. Ownership is not transferred.
[,cpp]
----
this->buffer().data() == other.buffer().data()
----

=== Constant.

=== Throws nothing.








