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

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

  


Assignment



=== Synopsis
  

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

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


If `other` references an object,
ownership is transferred including
a reference to the recycle bin. After
the move, the moved-from object is empty.
[,cpp]
----
this->release()
----
[,cpp]
----
&this->bin() == &other->bin()
----

=== Throws nothing.




=== Parameters

|===
| Name | Description 

| *other*
| 
The pointer to move from

|===




