[#boost-urls-grammar-recycled] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::recycled :relfileprefix: ../../../ :mrdocs: A thread‐safe collection of instances of T == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/recycled.hpp#L71[boost/url/grammar/recycled.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class T> class recycled; ---- == Member Functions [cols=2] |=== | Name | Description | xref:boost/urls/grammar/recycled/2constructor.adoc[`recycled`] [.small]#[constructor]# | Constructor | xref:boost/urls/grammar/recycled/2destructor.adoc[`~recycled`] [.small]#[destructor]# | Destructor |=== == Description Instances of this type may be used to control where recycled instances of T come from when used with xref:boost/urls/grammar/recycled_ptr.adoc[recycled_ptr]. === Example [,cpp] ---- static recycled< std::string > bin; recycled_ptr< std::string > ps( bin ); // Put the string into a known state ps->clear(); ---- == See Also xref:boost/urls/grammar/recycled_ptr.adoc[recycled_ptr]. [.small]#Created with https://www.mrdocs.com[MrDocs]#