:relfileprefix: ../../../../ [#boost-urls-grammar-recycled_ptr-2constructor-056] = 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(); ---- == Description Upon construction, this acquires exclusive access to an object of type `T` which is either recycled from a global recycle bin, or newly allocated. The object is in an unknown but valid state. === Example [,cpp] ---- recycled_ptr< std::string > ps; // Put the string into a known state ps->clear(); ---- === Postconditions [,cpp] ---- &this->bin() != nullptr && ! this->empty() ---- == See Also xref:boost/urls/grammar/recycled.adoc[recycled] .