:relfileprefix: ../../../ [#C76BF9C1DF3F4A4BFE52D0E7C12E7F176ED73317] = Class recycled pass:v,q[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] |=== |Name |Description |xref:boost/urls/grammar/recycled/2constructor.adoc[`pass:v[recycled]`] | pass:v,q[Constructor] |xref:boost/urls/grammar/recycled/2destructor.adoc[`pass:v[~recycled]`] | pass:v,q[Destructor] |=== == Description pass:v,q[Instances of this type may be used to control] pass:v,q[where recycled instances of T come from when] pass:v,q[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(); ----