[#boost-urls-grammar-recycled_ptr-2constructor-0f]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::xref:boost/urls/grammar/recycled_ptr.adoc[recycled&lowbar;ptr]::recycled&lowbar;ptr
:relfileprefix: ../../../../
:mrdocs:

Constructor

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/recycled.hpp#Lundefined[boost&sol;url&sol;grammar&sol;recycled&period;hpp]&gt;`

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

== Description

If `other` references an object, ownership is transferred including a reference to the recycle bin&period; After the move, the moved&hyphen;from object is empty&period;

== Postconditions

[,cpp]
----
&this->bin() == &other->bin() && ! this->empty() && other.empty()
----
== Exception Safety

Throws nothing&period;

== Parameters

[cols="1,4"]
|===
|Name|Description

| *other*
| The pointer to move from
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
