[#boost-urls-grammar-recycled_ptr-operator_assign] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::xref:boost/urls/grammar/recycled_ptr.adoc[recycled_ptr]::operator= :relfileprefix: ../../../../ :mrdocs: Assignment == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/recycled.hpp#L366[boost/url/grammar/recycled.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:boost/urls/grammar/recycled_ptr.adoc[recycled_ptr]& xref:boost/urls/grammar/recycled_ptr/operator_assign-0b.adoc[operator=](xref:boost/urls/grammar/recycled_ptr.adoc[recycled_ptr]&& other) noexcept; ---- [.small]#xref:boost/urls/grammar/recycled_ptr/operator_assign-0b.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:boost/urls/grammar/recycled_ptr.adoc[recycled_ptr]& xref:boost/urls/grammar/recycled_ptr/operator_assign-09.adoc[operator=](xref:boost/urls/grammar/recycled_ptr.adoc[recycled_ptr] const& other) noexcept; ---- [.small]#xref:boost/urls/grammar/recycled_ptr/operator_assign-09.adoc[_» more..._]# == 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. === Effects [,cpp] ---- this->release() ---- === Postconditions [,cpp] ---- &this->bin() == &other->bin() ---- === Exception Safety Throws nothing. == Parameters |=== | Name | Description | *other* | The pointer to move from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#