[#boost-urls-url_view-operator_assign-02d]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/url_view.adoc[url&lowbar;view]::operator&equals;
:relfileprefix: ../../../
:mrdocs:


Assignment

== Synopsis


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

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

== Description


After assignment, 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;





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