:relfileprefix: ../../../../
[#boost-urls-grammar-range-operator_assign-08]

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


Assignment


=== Synopsis

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

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

=== Description


After the move, this references the
same underlying character buffer. Ownership
is not transferred; the caller is responsible
for ensuring that the lifetime of the buffer
extends until it is no longer referenced.
The moved-from object becomes as if
default-constructed.

=== Throws nothing.








