:relfileprefix: ../../../../
[#B4DD95D520F87216F56AADA37E8B7D3DE1152768]

= Function recycled_ptr::operator=

pass:v,q[Assignment]


== Synopsis

Declared in header `</boost/url/grammar/recycled.hpp#L367[boost/url/grammar/recycled.hpp,window=blank_]>`

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

== Description

pass:v,q[If `other` references an object,] pass:v,q[ownership is transferred including]
pass:v,q[a reference to the recycle bin. After]
pass:v,q[the move, the moved-from object is empty.]

=== Effects
[,cpp]
----
this->release()
----

=== Postconditions
[,cpp]
----
&this->bin() == &other->bin()
----

=== Exception Safety
pass:v,q[Throws nothing.]



== Return Value

* `` 


== Parameters

|===
| Name | Type 

| *other*
| ``

|===



