:relfileprefix: ../../../../ [#boost-urls-grammar-recycled_ptr-2constructor-0ab] = 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]]::recycled_ptr Constructor == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- recycled_ptr(xref:boost/urls/grammar/recycled_ptr.adoc[recycled_ptr] const& other) noexcept; ---- == Description If `other` references an object, the newly constructed pointer acquires shared ownership. Otherwise this is empty. The new pointer references the same recycle bin as `other`. === Postconditions [,cpp] ---- &this->bin() == &other->bin() && this->get() == other.get() ---- === Exception Safety Throws nothing. == Parameters |=== | Name | Description | *other* | The pointer to copy |===