:relfileprefix: ../../../ [#boost-urls-grammar-recycled] = xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/grammar.adoc[pass:[grammar]]::recycled A thread-safe collection of instances of T == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- template class recycled; ---- == Member Functions [cols=2,separator=¦] |=== ¦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] .