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

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

  


Assignment



=== Synopsis
  

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
xref:boost/urls/url_view.adoc[url_view]&
xref:boost/urls/url_view/operator_assign-0f.adoc[pass:[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.








