[#boost-urls-grammar-recycled_ptr-2constructor-05e] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::xref:boost/urls/grammar/recycled_ptr.adoc[recycled_ptr]::recycled_ptr :relfileprefix: ../../../../ :mrdocs: Constructor == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/recycled.hpp#L300[boost/url/grammar/recycled.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- recycled_ptr(std::nullptr_t) noexcept; ---- == Description After construction, this is empty and refers to a global recycle bin. === Example [,cpp] ---- recycled_ptr< std::string > ps( nullptr ); // Acquire a string and put it into a known state ps->acquire(); ps->clear(); ---- === Postconditions [,cpp] ---- &this->bin() != nullptr && this->empty() ---- === Exception Safety Throws nothing. == See Also xref:boost/urls/grammar/recycled_ptr/acquire.adoc[acquire], xref:boost/urls/grammar/recycled.adoc[recycled], xref:boost/urls/grammar/recycled_ptr/release.adoc[release]. [.small]#Created with https://www.mrdocs.com[MrDocs]#